We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ffda1 commit 5dc43d2Copy full SHA for 5dc43d2
src/test/compile-fail/object-safety-associated-consts.rs
@@ -11,6 +11,8 @@
11
// Check that we correctly prevent users from making trait objects
12
// from traits with associated consts.
13
14
+#![feature(associated_consts)]
15
+
16
trait Bar {
17
const X: usize;
18
}
0 commit comments