From 1a3925075e38abaf31188d5a55634ca0cea0ea6d Mon Sep 17 00:00:00 2001 From: Bruno Tavares Date: Wed, 30 Dec 2015 16:50:28 -0200 Subject: [PATCH] 29595 Reference rust-lang/rust#29595 --- src/29595.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/29595.rs 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; +}