Skip to content

Commit f024564

Browse files
committed
---
yaml --- r: 234802 b: refs/heads/tmp c: b44cb01 h: refs/heads/master v: v3
1 parent bc71f87 commit f024564

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
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 1599c1675fbb30c1f03fe8d292f7e37c4a1e98ac
28+
refs/heads/tmp: b44cb01bd73b32ffe046b4dcfa549a954d139ab2
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: ab792abf1fcc28afbd315426213f6428da25c085
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/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/tmp/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)