Skip to content

Commit bf15d04

Browse files
committed
Make a test compatible with the beta channel
1 parent 9bebe5f commit bf15d04

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/compile-fail/gated-associated_consts.rs

-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111
trait MyTrait {
1212
const C: bool;
1313
//~^ associated constants are experimental
14-
//~| add #![feature(associated_consts)] to the crate attributes to enable
1514
}
1615

1716
struct Foo;
1817

1918
impl Foo {
2019
const C: bool = true;
2120
//~^ associated constants are experimental
22-
//~| add #![feature(associated_consts)] to the crate attributes to enable
2321
}

0 commit comments

Comments
 (0)