Skip to content

Commit

Permalink
Ignore some tests on platforms without libstd spans
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed Jan 16, 2020
1 parent c84efe9 commit 0b60f1f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/test/ui/issues/issue-38857.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl

fn main() {
let a = std::sys::imp::process::process_common::StdioPipes { ..panic!() };
//~^ ERROR failed to resolve: could not find `imp` in `sys` [E0433]
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/issues/issue-38857.stderr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error[E0433]: failed to resolve: could not find `imp` in `sys`
--> $DIR/issue-38857.rs:2:23
--> $DIR/issue-38857.rs:7:23
|
LL | let a = std::sys::imp::process::process_common::StdioPipes { ..panic!() };
| ^^^ could not find `imp` in `sys`

error[E0603]: module `sys` is private
--> $DIR/issue-38857.rs:2:18
--> $DIR/issue-38857.rs:7:18
|
LL | let a = std::sys::imp::process::process_common::StdioPipes { ..panic!() };
| ^^^ this module is private
Expand Down
5 changes: 5 additions & 0 deletions src/test/ui/stability-in-private-module.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl

fn main() {
let _ = std::thread::thread_info::current_thread();
//~^ERROR module `thread_info` is private
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/stability-in-private-module.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0603]: module `thread_info` is private
--> $DIR/stability-in-private-module.rs:2:26
--> $DIR/stability-in-private-module.rs:7:26
|
LL | let _ = std::thread::thread_info::current_thread();
| ^^^^^^^^^^^ this module is private
Expand Down

0 comments on commit 0b60f1f

Please sign in to comment.