]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-consts/issue-102335-const.rs
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / associated-consts / issue-102335-const.rs
1 #![feature(associated_const_equality)]
2
3 trait T {
4     type A: S<C<X = 0i32> = 34>;
5     //~^ ERROR associated type bindings are not allowed here
6 }
7
8 trait S {
9     const C: i32;
10 }
11
12 fn main() {}