We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bebe5f commit bf15d04Copy full SHA for bf15d04
1 file changed
src/test/compile-fail/gated-associated_consts.rs
@@ -11,13 +11,11 @@
11
trait MyTrait {
12
const C: bool;
13
//~^ associated constants are experimental
14
- //~| add #![feature(associated_consts)] to the crate attributes to enable
15
}
16
17
struct Foo;
18
19
impl Foo {
20
const C: bool = true;
21
22
23
0 commit comments