blob: 0d22cbd2c0730c07845667f11ec9a99427ad146e [file] [log] [blame] [edit]
//@ edition:2018
#![feature(async_closure)]
struct S;
fn test(x: impl async S) {}
//~^ ERROR expected trait, found struct `S`
fn missing(x: impl async Missing) {}
//~^ ERROR cannot find trait `Missing` in this scope
fn main() {}