Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
async-await
/
async-fn
/
edition-2015-not-async-bound.rs
blob: 60a7dff7d499a763044b0feb7f55c817463e0bbb [
file
] [
log
] [
blame
]
//@ 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
()
{}