mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
12 lines
238 B
Rust
12 lines
238 B
Rust
#![feature(associated_const_equality)]
|
|
|
|
trait T {
|
|
type A: S<C<X = 0i32> = 34>;
|
|
//~^ ERROR associated type bindings are not allowed here
|
|
//~| ERROR associated type bindings are not allowed here
|
|
}
|
|
|
|
trait S {
|
|
const C: i32;
|
|
}
|