summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-type-bounds/return-type-notation/unpretty-parenthesized.rs
blob: 9129f37e0c6b6c227ffacabadceec6297f2c62b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
// edition: 2021
// compile-flags: -Zunpretty=expanded

trait Trait {
    async fn method() {}
}

fn foo<T: Trait<method(i32): Send>>() {}
//~^ ERROR associated type bounds are unstable

fn main() {}