File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed
branches/auto/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 @@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
8
8
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
9
9
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
10
10
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11
- refs/heads/auto: 1599c1675fbb30c1f03fe8d292f7e37c4a1e98ac
11
+ refs/heads/auto: b44cb01bd73b32ffe046b4dcfa549a954d139ab2
12
12
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
13
13
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
14
14
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1
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