summaryrefslogtreecommitdiffstats
path: root/tests/ui/associated-consts/issue-102335-const.rs
blob: f60cb92da7f6b8eb1c9e001eedab7e62fee02170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#![feature(associated_const_equality)]

trait T {
    type A: S<C<X = 0i32> = 34>;
    //~^ ERROR associated type bindings are not allowed here
}

trait S {
    const C: i32;
}

fn main() {}