File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
branches/tmp/src/test/compile-fail Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
26
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
- refs/heads/tmp: 1599c1675fbb30c1f03fe8d292f7e37c4a1e98ac
28
+ refs/heads/tmp: b44cb01bd73b32ffe046b4dcfa549a954d139ab2
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: ab792abf1fcc28afbd315426213f6428da25c085
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
Original file line number Diff line number Diff line change 10
10
11
11
// Unstable entities should be caught in import lists
12
12
13
+ // aux-build:lint_stability.rs
14
+
13
15
#![ allow( unused_imports) ]
14
16
15
- use std:: thread:: { catch_panic, ScopedKey } ; //~ ERROR use of unstable library feature 'catch_panic'
16
- //~^ ERROR use of unstable library feature 'scoped_tls'
17
+ extern crate lint_stability;
18
+
19
+ use lint_stability:: { unstable, deprecated} ; //~ ERROR use of unstable library feature 'test_feature'
20
+ //~^ WARNING use of deprecated item
17
21
18
- use std :: rt :: { self } ; //~ ERROR use of unstable library feature 'rt '
22
+ use lint_stability :: unstable :: { self as u } ; //~ ERROR use of unstable library feature 'test_feature '
19
23
20
24
fn main ( ) {
21
25
}
Original file line number Diff line number Diff line change 10
10
11
11
// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
12
12
13
- use std:: rt:: { } ; //~ ERROR use of unstable library feature 'rt'
14
- use std:: { } ; // OK
13
+ // aux-build:lint_stability.rs
14
+
15
+ extern crate lint_stability;
16
+
17
+ use lint_stability:: UnstableStruct :: { } ; //~ ERROR use of unstable library feature 'test_feature'
18
+ use lint_stability:: StableStruct :: { } ; // OK
15
19
16
20
fn main ( ) { }
You can’t perform that action at this time.
0 commit comments