12 lines
235 B
Rust
12 lines
235 B
Rust
// 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() {}
|