2025-05-26 12:47:19 +00:00
|
|
|
//@ edition:2015
|
2024-02-16 20:02:50 +00:00
|
|
|
//@ check-pass
|
2024-01-26 17:15:43 +00:00
|
|
|
// 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() {}
|