]>
git.proxmox.com Git - rustc.git/blob - tests/ui/stability-attribute/stability-attribute-sanity-2.rs
1 // More checks that stability attributes are used correctly
3 #![feature(staged_api)]
5 #![stable(feature = "stable_test_feature", since = "1.0.0")]
7 #[stable(feature = "a", feature = "b", since = "1.0.0")] //~ ERROR multiple 'feature' items
10 #[stable(feature = "a", sinse = "1.0.0")] //~ ERROR unknown meta item 'sinse'
13 #[unstable(feature = "a", issue = "no")]
14 //~^ ERROR `issue` must be a non-zero numeric string or "none"