mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
10 lines
235 B
Rust
10 lines
235 B
Rust
//@ edition: 2021
|
|
|
|
// Make sure we don't complain about the implicit `-> impl Future` capturing an
|
|
// unconstrained anonymous lifetime.
|
|
|
|
async fn foo(_: Missing<'_>) {}
|
|
//~^ ERROR cannot find type `Missing` in this scope
|
|
|
|
fn main() {}
|