blob: f93834268f63b89726515c1bfcd4e1376fc7bb59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
  | 
#![feature(associated_const_equality)]
trait T {
    type A: S<C<X = 0i32> = 34>;
    //~^ ERROR associated item constraints are not allowed here
    //~| ERROR associated item constraints are not allowed here
}
trait S {
    const C: i32;
}
 
  |