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