Skip to content

Commit 879b328

Browse files
committed
---
yaml --- r: 232220 b: refs/heads/auto c: b44cb01 h: refs/heads/master v: v3
1 parent 2ed9103 commit 879b328

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 1599c1675fbb30c1f03fe8d292f7e37c4a1e98ac
11+
refs/heads/auto: b44cb01bd73b32ffe046b4dcfa549a954d139ab2
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/test/compile-fail/issue-28075.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@
1010

1111
// Unstable entities should be caught in import lists
1212

13+
// aux-build:lint_stability.rs
14+
1315
#![allow(unused_imports)]
1416

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
1721

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'
1923

2024
fn main() {
2125
}

branches/auto/src/test/compile-fail/issue-28388-3.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010

1111
// Prefix in imports with empty braces should be resolved and checked privacy, stability, etc.
1212

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
1519

1620
fn main() {}

0 commit comments

Comments
 (0)