55#![ stable( feature = "lint_stability" , since = "1.0.0" ) ]
66
77#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
8- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
8+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
99pub fn deprecated ( ) { }
1010#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
11- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
11+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
1212pub fn deprecated_text ( ) { }
1313
1414#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
15- #[ rustc_deprecated( since = "99.99.99" , reason = "text" ) ]
15+ #[ rustc_deprecated( since = "99.99.99" , note = "text" ) ]
1616pub fn deprecated_future ( ) { }
1717
1818#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
19- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
19+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
2020pub fn deprecated_unstable ( ) { }
2121#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
22- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
22+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
2323pub fn deprecated_unstable_text ( ) { }
2424
2525#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
@@ -37,17 +37,17 @@ pub struct MethodTester;
3737
3838impl MethodTester {
3939 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
40- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
40+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
4141 pub fn method_deprecated ( & self ) { }
4242 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
43- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
43+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
4444 pub fn method_deprecated_text ( & self ) { }
4545
4646 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
47- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
47+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
4848 pub fn method_deprecated_unstable ( & self ) { }
4949 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
50- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
50+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
5151 pub fn method_deprecated_unstable_text ( & self ) { }
5252
5353 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
@@ -64,17 +64,17 @@ impl MethodTester {
6464#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
6565pub trait Trait {
6666 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
67- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
67+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
6868 fn trait_deprecated ( & self ) { }
6969 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
70- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
70+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
7171 fn trait_deprecated_text ( & self ) { }
7272
7373 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
74- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
74+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
7575 fn trait_deprecated_unstable ( & self ) { }
7676 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
77- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
77+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
7878 fn trait_deprecated_unstable_text ( & self ) { }
7979
8080 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
@@ -93,7 +93,7 @@ pub trait TraitWithAssociatedTypes {
9393 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
9494 type TypeUnstable = u8 ;
9595 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
96- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
96+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
9797 type TypeDeprecated = u8 ;
9898}
9999
@@ -104,18 +104,18 @@ impl Trait for MethodTester {}
104104pub trait UnstableTrait { fn dummy ( & self ) { } }
105105
106106#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
107- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
107+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
108108pub trait DeprecatedTrait {
109109 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ] fn dummy ( & self ) { }
110110}
111111
112112#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
113- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
113+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
114114pub struct DeprecatedStruct {
115115 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ] pub i : isize
116116}
117117#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
118- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
118+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
119119pub struct DeprecatedUnstableStruct {
120120 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ] pub i : isize
121121}
@@ -133,10 +133,10 @@ pub enum UnstableEnum {}
133133pub enum StableEnum { }
134134
135135#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
136- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
136+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
137137pub struct DeprecatedUnitStruct ;
138138#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
139- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
139+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
140140pub struct DeprecatedUnstableUnitStruct ;
141141#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
142142pub struct UnstableUnitStruct ;
@@ -146,10 +146,10 @@ pub struct StableUnitStruct;
146146#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
147147pub enum Enum {
148148 #[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
149- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
149+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
150150 DeprecatedVariant ,
151151 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
152- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
152+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
153153 DeprecatedUnstableVariant ,
154154 #[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
155155 UnstableVariant ,
@@ -159,10 +159,10 @@ pub enum Enum {
159159}
160160
161161#[ stable( feature = "stable_test_feature" , since = "1.0.0" ) ]
162- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
162+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
163163pub struct DeprecatedTupleStruct ( #[ stable( feature = "rust1" , since = "1.0.0" ) ] pub isize ) ;
164164#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
165- #[ rustc_deprecated( since = "1.0.0" , reason = "text" ) ]
165+ #[ rustc_deprecated( since = "1.0.0" , note = "text" ) ]
166166pub struct DeprecatedUnstableTupleStruct ( #[ stable( feature = "rust1" , since = "1.0.0" ) ] pub isize ) ;
167167#[ unstable( feature = "unstable_test_feature" , issue = "none" ) ]
168168pub struct UnstableTupleStruct ( #[ stable( feature = "rust1" , since = "1.0.0" ) ] pub isize ) ;
0 commit comments