mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
27 lines
810 B
Plaintext
27 lines
810 B
Plaintext
error[E0261]: use of undeclared lifetime name `'missing`
|
|
--> $DIR/region-error-ice-109072.rs:8:9
|
|
|
|
|
LL | impl Lt<'missing> for () {
|
|
| - ^^^^^^^^ undeclared lifetime
|
|
| |
|
|
| help: consider introducing lifetime `'missing` here: `<'missing>`
|
|
|
|
error[E0261]: use of undeclared lifetime name `'missing`
|
|
--> $DIR/region-error-ice-109072.rs:9:15
|
|
|
|
|
LL | type T = &'missing ();
|
|
| ^^^^^^^^ undeclared lifetime
|
|
|
|
|
help: consider introducing lifetime `'missing` here
|
|
|
|
|
LL | type T<'missing> = &'missing ();
|
|
| ++++++++++
|
|
help: consider introducing lifetime `'missing` here
|
|
|
|
|
LL | impl<'missing> Lt<'missing> for () {
|
|
| ++++++++++
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0261`.
|