Skip to content

Commit cd7d89a

Browse files
committed
Merge pull request #25504 from brson/betafix
Make a test compatible with the beta channel
2 parents 9bebe5f + bf15d04 commit cd7d89a

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)