rust/tests/ui/associated-consts/issue-102335-const.rs
2024-05-30 22:52:33 +02:00

14 lines
258 B
Rust

#![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() {}