mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-08 13:18:32 +00:00
12 lines
191 B
Rust
12 lines
191 B
Rust
//@ edition:2015
|
|
//@ check-pass
|
|
// Make sure that we don't eagerly recover `async ::Bound` in edition 2015.
|
|
|
|
mod async {
|
|
pub trait Foo {}
|
|
}
|
|
|
|
fn test(x: impl async ::Foo) {}
|
|
|
|
fn main() {}
|