about summary refs log tree commit diff
path: root/tests/ui/methods/dont-ice-on-object-lookup-w-error-region.rs
blob: 0a6d196364f9dd860f8986d841ae6c56ccd5d3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Fix for issue: #122914

use std::future::Future;
use std::pin::Pin;

fn project(x: Pin<&'missing mut dyn Future<Output = ()>>) {
    //~^ ERROR use of undeclared lifetime name `'missing`
    let _ = x.poll(todo!());
}

fn main() {}