Skip to content

Commit

Permalink
Merge pull request rust-lang#25504 from brson/betafix
Browse files Browse the repository at this point in the history
Make a test compatible with the beta channel
  • Loading branch information
brson committed May 16, 2015
2 parents 9bebe5f + bf15d04 commit cd7d89a
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 cd7d89a

Please sign in to comment.