about summary refs log tree commit diff
path: root/tests/ui/methods/dont-ice-on-object-lookup-w-error-region.stderr
blob: 00267ce359a19b0abdc322cc531826978e4ab695 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.