Remove all uses of #[staged_api]
This commit is contained in:
parent
5127d24a3e
commit
be8ace8cac
52 changed files with 34 additions and 52 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#![crate_type = "lib"]
|
||||
#![unstable(feature = "test_feature", issue = "0")]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
pub fn unstable() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(staged_api, allow_internal_unstable)]
|
||||
#![staged_api]
|
||||
#![stable(feature = "stable", since = "1.0.0")]
|
||||
|
||||
#[unstable(feature = "function", issue = "0")]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
#![crate_name="lint_output_format"]
|
||||
#![crate_type = "lib"]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![unstable(feature = "test_feature", issue = "0")]
|
||||
|
||||
#[stable(feature = "test_feature", since = "1.0.0")]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#![crate_name="lint_stability"]
|
||||
#![crate_type = "lib"]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![stable(feature = "lint_stability", since = "1.0.0")]
|
||||
|
||||
#[stable(feature = "test_feature", since = "1.0.0")]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![stable(feature = "foo", since = "1.2.0")]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@
|
|||
#![cfg_attr(foo, experimental)]
|
||||
#![cfg_attr(not(foo), stable(feature = "test_feature", since = "1.0.0"))]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
|
|
|||
|
|
@ -13,4 +13,3 @@
|
|||
#![cfg_attr(foo, unstable(feature = "test_feature", issue = "0"))]
|
||||
#![cfg_attr(not(foo), stable(feature = "test_feature", since = "1.0.0"))]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![deny(deprecated)]
|
||||
|
||||
#![unstable(feature = "test_feature", issue = "0")]
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// compile-flags: -F deprecated
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#[allow(deprecated)] //~ ERROR allow(deprecated) overruled by outer forbid(deprecated)
|
||||
fn main() {
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
#![deny(deprecated)]
|
||||
#![allow(dead_code)]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#![deny(deprecated)]
|
||||
#![allow(dead_code)]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#![crate_type="lib"]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
#![stable(feature = "test_feature", since = "1.0.0")]
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// More checks that stability attributes are used correctly
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
#![stable(feature = "test_feature", since = "1.0.0")]
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
// Various checks that stability attributes are used correctly, per RFC 507
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![unstable(feature = "test_feature", issue = "0")]
|
||||
|
||||
pub fn baz() { }
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#![doc(test(attr(feature(staged_api))))]
|
||||
|
||||
/// ```
|
||||
/// #![staged_api]
|
||||
/// #![unstable(feature="test", issue="18199")]
|
||||
/// fn main() {}
|
||||
/// ```
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
// except according to those terms.
|
||||
|
||||
#![feature(staged_api)]
|
||||
#![staged_api]
|
||||
#![doc(issue_tracker_base_url = "http://issue_url/")]
|
||||
|
||||
#![unstable(feature="test", issue="27759")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue