Fix test/ui
This commit is contained in:
parent
895fcec3b4
commit
671a81738d
3 changed files with 7 additions and 7 deletions
|
@ -11,20 +11,20 @@
|
||||||
#![crate_name="lint_output_format"]
|
#![crate_name="lint_output_format"]
|
||||||
#![crate_type = "lib"]
|
#![crate_type = "lib"]
|
||||||
#![feature(staged_api)]
|
#![feature(staged_api)]
|
||||||
#![unstable(feature = "test_feature", issue = "0")]
|
#![unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
|
|
||||||
#[stable(feature = "test_feature", since = "1.0.0")]
|
#[stable(feature = "stable_test_feature", since = "1.0.0")]
|
||||||
#[rustc_deprecated(since = "1.0.0", reason = "text")]
|
#[rustc_deprecated(since = "1.0.0", reason = "text")]
|
||||||
pub fn foo() -> usize {
|
pub fn foo() -> usize {
|
||||||
20
|
20
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unstable(feature = "test_feature", issue = "0")]
|
#[unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
pub fn bar() -> usize {
|
pub fn bar() -> usize {
|
||||||
40
|
40
|
||||||
}
|
}
|
||||||
|
|
||||||
#[unstable(feature = "test_feature", issue = "0")]
|
#[unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
pub fn baz() -> usize {
|
pub fn baz() -> usize {
|
||||||
30
|
30
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
#![feature(staged_api)]
|
#![feature(staged_api)]
|
||||||
#![deny(deprecated)]
|
#![deny(deprecated)]
|
||||||
|
|
||||||
#![unstable(feature = "test_feature", issue = "0")]
|
#![unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
|
|
||||||
struct Foo;
|
struct Foo;
|
||||||
|
|
||||||
impl Foo {
|
impl Foo {
|
||||||
#[unstable(feature = "test_feature", issue = "0")]
|
#[unstable(feature = "unstable_test_feature", issue = "0")]
|
||||||
#[rustc_deprecated(since = "1.0.0", reason = "text")]
|
#[rustc_deprecated(since = "1.0.0", reason = "text")]
|
||||||
fn foo(self) {}
|
fn foo(self) {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
// FIXME(#44232) we should warn that this isn't used.
|
// FIXME(#44232) we should warn that this isn't used.
|
||||||
#![feature(foo)]
|
#![feature(foo)]
|
||||||
|
|
||||||
#![feature(test_feature)]
|
#![feature(unstable_test_feature)]
|
||||||
#![feature(rustc_attrs)]
|
#![feature(rustc_attrs)]
|
||||||
|
|
||||||
extern crate lint_output_format;
|
extern crate lint_output_format;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue