fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0106]: missing lifetime specifier 2 --> $DIR/E0106.rs:2:8 3 | 4LL | x: &bool, 5 | ^ expected named lifetime parameter 6 | 7help: consider introducing a named lifetime parameter 8 | 9LL ~ struct Foo<'a> { 10LL ~ x: &'a bool, 11 | 12 13error[E0106]: missing lifetime specifier 14 --> $DIR/E0106.rs:7:7 15 | 16LL | B(&bool), 17 | ^ expected named lifetime parameter 18 | 19help: consider introducing a named lifetime parameter 20 | 21LL ~ enum Bar<'a> { 22LL | A(u8), 23LL ~ B(&'a bool), 24 | 25 26error[E0106]: missing lifetime specifier 27 --> $DIR/E0106.rs:10:14 28 | 29LL | type MyStr = &str; 30 | ^ expected named lifetime parameter 31 | 32help: consider introducing a named lifetime parameter 33 | 34LL | type MyStr<'a> = &'a str; 35 | ++++ ++ 36 37error[E0106]: missing lifetime specifier 38 --> $DIR/E0106.rs:17:10 39 | 40LL | baz: Baz, 41 | ^^^ expected named lifetime parameter 42 | 43help: consider introducing a named lifetime parameter 44 | 45LL ~ struct Quux<'a> { 46LL ~ baz: Baz<'a>, 47 | 48 49error[E0106]: missing lifetime specifiers 50 --> $DIR/E0106.rs:20:11 51 | 52LL | buzz: Buzz, 53 | ^^^^ expected 2 lifetime parameters 54 | 55help: consider introducing a named lifetime parameter 56 | 57LL ~ struct Quux<'a> { 58LL | baz: Baz, 59LL | 60LL | 61LL ~ buzz: Buzz<'a, 'a>, 62 | 63 64error: aborting due to 5 previous errors 65 66For more information about this error, try `rustc --explain E0106`.