blob: a52562d78f8ae6fbc75cd745f66a51c3e061fd07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// edition: 2021
#![feature(return_type_notation, async_fn_in_trait)]
//~^ WARN the feature `return_type_notation` is incomplete
trait Trait {
async fn method() {}
}
fn bar<T: Trait<methid(): Send>>() {}
//~^ ERROR cannot find associated function `methid` for `Trait`
fn main() {}
|