Skip to content

Commit

Permalink
Make a test compatible with the beta channel
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed May 16, 2015
1 parent 9bebe5f commit bf15d04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/compile-fail/gated-associated_consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@
trait MyTrait {
const C: bool;
//~^ associated constants are experimental
//~| add #![feature(associated_consts)] to the crate attributes to enable
}

struct Foo;

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

0 comments on commit bf15d04

Please sign in to comment.