diff --git a/src/29595.rs b/src/29595.rs new file mode 100644 index 00000000..78a43c0b --- /dev/null +++ b/src/29595.rs @@ -0,0 +1,9 @@ +#![feature(associated_consts)] + +trait Tr { + const C: Self; +} + +fn main() { + let a: u8 = Tr::C; +}