Skip to content

Commit 86b8dea

Browse files
committed
Ignore tests on some platforms due to #53081
1 parent 96e2d03 commit 86b8dea

34 files changed

+121
-36
lines changed

src/test/ui/copy-a-resource.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
#[derive(Debug)]
27
struct Foo {
38
i: isize,

src/test/ui/copy-a-resource.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `Foo` in the current scope
2-
--> $DIR/copy-a-resource.rs:18:16
2+
--> $DIR/copy-a-resource.rs:23:16
33
|
44
LL | struct Foo {
55
| ---------- method `clone` not found for this

src/test/ui/derives/derive-assoc-type-not-impl.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
trait Foo {
27
type X;
38
fn method(&self) {}

src/test/ui/derives/derive-assoc-type-not-impl.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `Bar<NotClone>` in the current scope
2-
--> $DIR/derive-assoc-type-not-impl.rs:18:30
2+
--> $DIR/derive-assoc-type-not-impl.rs:23:30
33
|
44
LL | struct Bar<T: Foo> {
55
| ------------------

src/test/ui/error-codes/E0004-2.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
fn main() {
27
let x = Some(1);
38

src/test/ui/error-codes/E0004-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0004]: non-exhaustive patterns: `None` and `Some(_)` not covered
2-
--> $DIR/E0004-2.rs:4:11
2+
--> $DIR/E0004-2.rs:9:11
33
|
44
LL | match x { }
55
| ^ patterns `None` and `Some(_)` not covered

src/test/ui/error-codes/E0005.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
fn main() {
27
let x = Some(1);
38
let Some(y) = x; //~ ERROR E0005

src/test/ui/error-codes/E0005.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0005]: refutable pattern in local binding: `None` not covered
2-
--> $DIR/E0005.rs:3:9
2+
--> $DIR/E0005.rs:8:9
33
|
44
LL | let Some(y) = x;
55
| ^^^^^^^ pattern `None` not covered

src/test/ui/error-codes/E0297.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
fn main() {
27
let xs : Vec<Option<i32>> = vec![Some(1), None];
38

src/test/ui/error-codes/E0297.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0005]: refutable pattern in `for` loop binding: `None` not covered
2-
--> $DIR/E0297.rs:4:9
2+
--> $DIR/E0297.rs:9:9
33
|
44
LL | for Some(x) in xs {}
55
| ^^^^^^^ pattern `None` not covered

src/test/ui/feature-gates/feature-gate-exhaustive-patterns.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
#![feature(never_type)]
27

38
fn foo() -> Result<u32, !> {

src/test/ui/feature-gates/feature-gate-exhaustive-patterns.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0005]: refutable pattern in local binding: `Err(_)` not covered
2-
--> $DIR/feature-gate-exhaustive-patterns.rs:8:9
2+
--> $DIR/feature-gate-exhaustive-patterns.rs:13:9
33
|
44
LL | let Ok(_x) = foo();
55
| ^^^^^^ pattern `Err(_)` not covered

src/test/ui/generic-associated-types/iterable.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
#![allow(incomplete_features)]
27
#![feature(generic_associated_types)]
38

src/test/ui/generic-associated-types/iterable.stderr

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0271]: type mismatch resolving `for<'a> <<std::vec::Vec<T> as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <std::vec::Vec<T> as Iterable>::Item<'a>`
2-
--> $DIR/iterable.rs:15:5
2+
--> $DIR/iterable.rs:20:5
33
|
44
LL | impl<T> Iterable for Vec<T> {
55
| --------------------------- in this `impl` item
@@ -17,7 +17,7 @@ LL | type Item;
1717
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
1818

1919
error[E0271]: type mismatch resolving `for<'a> <<[T] as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <[T] as Iterable>::Item<'a>`
20-
--> $DIR/iterable.rs:27:5
20+
--> $DIR/iterable.rs:32:5
2121
|
2222
LL | impl<T> Iterable for [T] {
2323
| ------------------------ in this `impl` item
@@ -35,7 +35,7 @@ LL | type Item;
3535
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
3636

3737
error[E0271]: type mismatch resolving `for<'a> <<std::vec::Vec<T> as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <std::vec::Vec<T> as Iterable>::Item<'a>`
38-
--> $DIR/iterable.rs:19:30
38+
--> $DIR/iterable.rs:24:30
3939
|
4040
LL | trait Iterable {
4141
| -------------- required by `Iterable`
@@ -49,7 +49,7 @@ LL | fn iter<'a>(&'a self) -> Self::Iter<'a> {
4949
= note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
5050

5151
error[E0271]: type mismatch resolving `for<'a> <<[T] as Iterable>::Iter<'a> as std::iter::Iterator>::Item == <[T] as Iterable>::Item<'a>`
52-
--> $DIR/iterable.rs:31:30
52+
--> $DIR/iterable.rs:36:30
5353
|
5454
LL | trait Iterable {
5555
| -------------- required by `Iterable`

src/test/ui/issues/issue-2823.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
struct C {
27
x: isize,
38
}

src/test/ui/issues/issue-2823.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `C` in the current scope
2-
--> $DIR/issue-2823.rs:13:16
2+
--> $DIR/issue-2823.rs:18:16
33
|
44
LL | struct C {
55
| -------- method `clone` not found for this

src/test/ui/issues/issue-69725.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
// aux-build:issue-69725.rs
27

38
extern crate issue_69725;

src/test/ui/issues/issue-69725.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `issue_69725::Struct<A>` in the current scope
2-
--> $DIR/issue-69725.rs:7:32
2+
--> $DIR/issue-69725.rs:12:32
33
|
44
LL | let _ = Struct::<A>::new().clone();
55
| ^^^^^ method not found in `issue_69725::Struct<A>`

src/test/ui/non-copyable-void.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
// ignore-wasm32-bare no libc to test ffi with
27

38
#![feature(rustc_private)]

src/test/ui/non-copyable-void.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for enum `libc::c_void` in the current scope
2-
--> $DIR/non-copyable-void.rs:11:23
2+
--> $DIR/non-copyable-void.rs:16:23
33
|
44
LL | let _z = (*y).clone();
55
| ^^^^^ method not found in `libc::c_void`

src/test/ui/noncopyable-class.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
// Test that a class with a non-copyable field can't be
27
// copied
38

src/test/ui/noncopyable-class.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0599]: no method named `clone` found for struct `Foo` in the current scope
2-
--> $DIR/noncopyable-class.rs:34:16
2+
--> $DIR/noncopyable-class.rs:39:16
33
|
44
LL | struct Foo {
55
| ---------- method `clone` not found for this

src/test/ui/pattern/usefulness/match-arm-statics-2.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
use self::Direction::{North, East, South, West};
27

38
#[derive(PartialEq, Eq)]

src/test/ui/pattern/usefulness/match-arm-statics-2.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error[E0004]: non-exhaustive patterns: `(true, false)` not covered
2-
--> $DIR/match-arm-statics-2.rs:17:11
2+
--> $DIR/match-arm-statics-2.rs:22:11
33
|
44
LL | match (true, false) {
55
| ^^^^^^^^^^^^^ pattern `(true, false)` not covered
66
|
77
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
88

99
error[E0004]: non-exhaustive patterns: `Some(Some(West))` not covered
10-
--> $DIR/match-arm-statics-2.rs:29:11
10+
--> $DIR/match-arm-statics-2.rs:34:11
1111
|
1212
LL | match Some(Some(North)) {
1313
| ^^^^^^^^^^^^^^^^^ pattern `Some(Some(West))` not covered
@@ -23,7 +23,7 @@ LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
2323
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
2424

2525
error[E0004]: non-exhaustive patterns: `Foo { bar: Some(North), baz: NewBool(true) }` not covered
26-
--> $DIR/match-arm-statics-2.rs:48:11
26+
--> $DIR/match-arm-statics-2.rs:53:11
2727
|
2828
LL | / struct Foo {
2929
LL | | bar: Option<Direction>,

src/test/ui/pattern/usefulness/match-privately-empty.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
#![feature(never_type)]
27
#![feature(exhaustive_patterns)]
38

src/test/ui/pattern/usefulness/match-privately-empty.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0004]: non-exhaustive patterns: `Some(Private { misc: true, .. })` not covered
2-
--> $DIR/match-privately-empty.rs:13:11
2+
--> $DIR/match-privately-empty.rs:18:11
33
|
44
LL | match private::DATA {
55
| ^^^^^^^^^^^^^ pattern `Some(Private { misc: true, .. })` not covered

src/test/ui/pattern/usefulness/non-exhaustive-match.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
#![allow(illegal_floating_point_literal_pattern)]
27

38
enum T { A, B }

src/test/ui/pattern/usefulness/non-exhaustive-match.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0004]: non-exhaustive patterns: `A` not covered
2-
--> $DIR/non-exhaustive-match.rs:7:11
2+
--> $DIR/non-exhaustive-match.rs:12:11
33
|
44
LL | enum T { A, B }
55
| ---------------
@@ -13,15 +13,15 @@ LL | match x { T::B => { } }
1313
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
1414

1515
error[E0004]: non-exhaustive patterns: `false` not covered
16-
--> $DIR/non-exhaustive-match.rs:8:11
16+
--> $DIR/non-exhaustive-match.rs:13:11
1717
|
1818
LL | match true {
1919
| ^^^^ pattern `false` not covered
2020
|
2121
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
2222

2323
error[E0004]: non-exhaustive patterns: `Some(_)` not covered
24-
--> $DIR/non-exhaustive-match.rs:11:11
24+
--> $DIR/non-exhaustive-match.rs:16:11
2525
|
2626
LL | match Some(10) {
2727
| ^^^^^^^^ pattern `Some(_)` not covered
@@ -34,23 +34,23 @@ LL | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
3434
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
3535

3636
error[E0004]: non-exhaustive patterns: `(_, _, std::i32::MIN..=3i32)` and `(_, _, 5i32..=std::i32::MAX)` not covered
37-
--> $DIR/non-exhaustive-match.rs:14:11
37+
--> $DIR/non-exhaustive-match.rs:19:11
3838
|
3939
LL | match (2, 3, 4) {
4040
| ^^^^^^^^^ patterns `(_, _, std::i32::MIN..=3i32)` and `(_, _, 5i32..=std::i32::MAX)` not covered
4141
|
4242
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
4343

4444
error[E0004]: non-exhaustive patterns: `(A, A)` not covered
45-
--> $DIR/non-exhaustive-match.rs:18:11
45+
--> $DIR/non-exhaustive-match.rs:23:11
4646
|
4747
LL | match (T::A, T::A) {
4848
| ^^^^^^^^^^^^ pattern `(A, A)` not covered
4949
|
5050
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
5151

5252
error[E0004]: non-exhaustive patterns: `B` not covered
53-
--> $DIR/non-exhaustive-match.rs:22:11
53+
--> $DIR/non-exhaustive-match.rs:27:11
5454
|
5555
LL | enum T { A, B }
5656
| ---------------
@@ -64,15 +64,15 @@ LL | match T::A {
6464
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
6565

6666
error[E0004]: non-exhaustive patterns: `[]` not covered
67-
--> $DIR/non-exhaustive-match.rs:33:11
67+
--> $DIR/non-exhaustive-match.rs:38:11
6868
|
6969
LL | match *vec {
7070
| ^^^^ pattern `[]` not covered
7171
|
7272
= help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
7373

7474
error[E0004]: non-exhaustive patterns: `[_, _, _, _, ..]` not covered
75-
--> $DIR/non-exhaustive-match.rs:46:11
75+
--> $DIR/non-exhaustive-match.rs:51:11
7676
|
7777
LL | match *vec {
7878
| ^^^^ pattern `[_, _, _, _, ..]` not covered

src/test/ui/recursion/recursive-types-are-not-uninhabited.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
struct R<'a> {
27
r: &'a R<'a>,
38
}

src/test/ui/recursion/recursive-types-are-not-uninhabited.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0005]: refutable pattern in local binding: `Err(_)` not covered
2-
--> $DIR/recursive-types-are-not-uninhabited.rs:6:9
2+
--> $DIR/recursive-types-are-not-uninhabited.rs:11:9
33
|
44
LL | let Ok(x) = res;
55
| ^^^^^ pattern `Err(_)` not covered

src/test/ui/uninhabited/uninhabited-matches-feature-gated.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// FIXME: missing sysroot spans (#53081)
2+
// ignore-i586-unknown-linux-gnu
3+
// ignore-i586-unknown-linux-musl
4+
// ignore-i686-unknown-linux-musl
5+
16
use std::mem::zeroed;
27
enum Void {}
38

0 commit comments

Comments
 (0)