summary refs log tree commit diff
path: root/tests/ui/async-await/async-fn/edition-2015-not-async-bound.rs
blob: d222ddc081eff02e2e7e408033b124b4d2462247 (plain)
1
2
3
4
5
6
7
8
9
10
//@ 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() {}