summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/invalid_associated_const.rs
blob: 6ab8c36f74041e4193dd236a1141de878c31525f (plain)
1
2
3
4
5
6
7
8
9
10
#![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;
}