mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
16 lines
445 B
Plaintext
16 lines
445 B
Plaintext
error[E0637]: `'_` cannot be used here
|
|
--> $DIR/where-clauses.rs:3:10
|
|
|
|
|
LL | impl<'b: '_> Foo<'b> for i32 {}
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
error[E0637]: `'_` cannot be used here
|
|
--> $DIR/where-clauses.rs:5:9
|
|
|
|
|
LL | impl<T: '_> Foo<'static> for Vec<T> {}
|
|
| ^^ `'_` is a reserved lifetime name
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0637`.
|