From bf15d040c0aa7c6b99221e1b13ae12b5b811a795 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sat, 16 May 2015 14:53:37 -0700 Subject: [PATCH] Make a test compatible with the beta channel --- src/test/compile-fail/gated-associated_consts.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/test/compile-fail/gated-associated_consts.rs b/src/test/compile-fail/gated-associated_consts.rs index 21672b18bde44..cfa75ff9763e9 100644 --- a/src/test/compile-fail/gated-associated_consts.rs +++ b/src/test/compile-fail/gated-associated_consts.rs @@ -11,7 +11,6 @@ trait MyTrait { const C: bool; //~^ associated constants are experimental - //~| add #![feature(associated_consts)] to the crate attributes to enable } struct Foo; @@ -19,5 +18,4 @@ struct Foo; impl Foo { const C: bool = true; //~^ associated constants are experimental - //~| add #![feature(associated_consts)] to the crate attributes to enable }