fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
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<'lifetime> { 10LL | x: &'lifetime 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<'lifetime> { 22LL | A(u8), 23LL | B(&'lifetime 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<'lifetime> = &'lifetime 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<'lifetime> { 46LL | baz: Baz<'lifetime>, 47 | 48 49error[E0106]: missing lifetime specifiers 50 --> $DIR/E0106.rs:20:11 51 | 52LL | buzz: Buzz, 53 | ^^^^ expected 2 lifetime parameters 54 55error: aborting due to 5 previous errors 56 57For more information about this error, try `rustc --explain E0106`.