mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-01 08:53:29 +00:00
15 lines
513 B
Plaintext
15 lines
513 B
Plaintext
error[E0261]: use of undeclared lifetime name `'missing`
|
|
--> $DIR/dont-ice-on-object-lookup-w-error-region.rs:6:20
|
|
|
|
|
LL | fn project(x: Pin<&'missing mut dyn Future<Output = ()>>) {
|
|
| ^^^^^^^^ undeclared lifetime
|
|
|
|
|
help: consider introducing lifetime `'missing` here
|
|
|
|
|
LL | fn project<'missing>(x: Pin<&'missing mut dyn Future<Output = ()>>) {
|
|
| ++++++++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0261`.
|