blob: fd922cd0f1d899110aa61acd6dd7997b8df6e0ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![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;
}
fn main() {}
|