1 // Testing that the stable_features lint catches use of stable
2 // language and lib features.
4 #![deny(stable_features)]
6 #![feature(test_accepted_feature)]
7 //~^ ERROR the feature `test_accepted_feature` has been stable since 1.0.0
10 //~^ ERROR the feature `rust1` has been stable since 1.0.0
13 let _foo: Vec<()> = Vec::new();