1
Fork 0

also adjust ignore in generated tests

This commit is contained in:
Ralf Jung 2019-11-02 23:20:28 +01:00
parent 05c07916ed
commit 18089689c0
61 changed files with 65 additions and 44 deletions

View file

@ -14,8 +14,7 @@ TEST_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), '../test/ui/derives/'))
TEMPLATE = """\
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
{error_deriving}

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
--> $DIR/derives-span-Clone-enum-struct-variant.rs:9:6
--> $DIR/derives-span-Clone-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
--> $DIR/derives-span-Clone-enum.rs:9:6
--> $DIR/derives-span-Clone-enum.rs:10:6
|
LL | Error
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
--> $DIR/derives-span-Clone-struct.rs:8:5
--> $DIR/derives-span-Clone-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
--> $DIR/derives-span-Clone-tuple-struct.rs:8:5
--> $DIR/derives-span-Clone-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
--> $DIR/derives-span-Debug-enum-struct-variant.rs:9:6
--> $DIR/derives-span-Debug-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
--> $DIR/derives-span-Debug-enum.rs:9:6
--> $DIR/derives-span-Debug-enum.rs:10:6
|
LL | Error
| ^^^^^ `Error` cannot be formatted using `{:?}`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
--> $DIR/derives-span-Debug-struct.rs:8:5
--> $DIR/derives-span-Debug-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: `Error` doesn't implement `std::fmt::Debug`
--> $DIR/derives-span-Debug-tuple-struct.rs:8:5
--> $DIR/derives-span-Debug-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ `Error` cannot be formatted using `{:?}`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::default::Default` is not satisfied
--> $DIR/derives-span-Default-struct.rs:8:5
--> $DIR/derives-span-Default-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::default::Default` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::default::Default` is not satisfied
--> $DIR/derives-span-Default-tuple-struct.rs:8:5
--> $DIR/derives-span-Default-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ the trait `std::default::Default` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
--> $DIR/derives-span-Eq-enum-struct-variant.rs:9:6
--> $DIR/derives-span-Eq-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
--> $DIR/derives-span-Eq-enum.rs:9:6
--> $DIR/derives-span-Eq-enum.rs:10:6
|
LL | Error
| ^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
--> $DIR/derives-span-Eq-struct.rs:8:5
--> $DIR/derives-span-Eq-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
--> $DIR/derives-span-Eq-tuple-struct.rs:8:5
--> $DIR/derives-span-Eq-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View file

@ -1,5 +1,4 @@
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
--> $DIR/derives-span-Hash-enum-struct-variant.rs:11:6
--> $DIR/derives-span-Hash-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View file

@ -1,5 +1,4 @@
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
--> $DIR/derives-span-Hash-enum.rs:11:6
--> $DIR/derives-span-Hash-enum.rs:10:6
|
LL | Error
| ^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View file

@ -1,5 +1,4 @@
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
--> $DIR/derives-span-Hash-struct.rs:10:5
--> $DIR/derives-span-Hash-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View file

@ -1,5 +1,4 @@
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::hash::Hash` is not satisfied
--> $DIR/derives-span-Hash-tuple-struct.rs:10:5
--> $DIR/derives-span-Hash-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(Eq,PartialOrd,PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Ord` is not satisfied
--> $DIR/derives-span-Ord-enum-struct-variant.rs:9:6
--> $DIR/derives-span-Ord-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(Eq,PartialOrd,PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Ord` is not satisfied
--> $DIR/derives-span-Ord-enum.rs:9:6
--> $DIR/derives-span-Ord-enum.rs:10:6
|
LL | Error
| ^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(Eq,PartialOrd,PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Ord` is not satisfied
--> $DIR/derives-span-Ord-struct.rs:8:5
--> $DIR/derives-span-Ord-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(Eq,PartialOrd,PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Error: std::cmp::Ord` is not satisfied
--> $DIR/derives-span-Ord-tuple-struct.rs:8:5
--> $DIR/derives-span-Ord-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0369]: binary operation `==` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:9:6
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^
@ -7,7 +7,7 @@ LL | x: Error
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
error[E0369]: binary operation `!=` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:9:6
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0369]: binary operation `==` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-enum.rs:9:6
--> $DIR/derives-span-PartialEq-enum.rs:10:6
|
LL | Error
| ^^^^^
@ -7,7 +7,7 @@ LL | Error
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
error[E0369]: binary operation `!=` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-enum.rs:9:6
--> $DIR/derives-span-PartialEq-enum.rs:10:6
|
LL | Error
| ^^^^^

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0369]: binary operation `==` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-struct.rs:8:5
--> $DIR/derives-span-PartialEq-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^
@ -7,7 +7,7 @@ LL | x: Error
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
error[E0369]: binary operation `!=` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-struct.rs:8:5
--> $DIR/derives-span-PartialEq-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'

View file

@ -1,5 +1,5 @@
error[E0369]: binary operation `==` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-tuple-struct.rs:8:5
--> $DIR/derives-span-PartialEq-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^
@ -7,7 +7,7 @@ LL | Error
= note: an implementation of `std::cmp::PartialEq` might be missing for `Error`
error[E0369]: binary operation `!=` cannot be applied to type `Error`
--> $DIR/derives-span-PartialEq-tuple-struct.rs:8:5
--> $DIR/derives-span-PartialEq-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: can't compare `Error` with `Error`
--> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:9:6
--> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:10:6
|
LL | x: Error
| ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: can't compare `Error` with `Error`
--> $DIR/derives-span-PartialOrd-enum.rs:9:6
--> $DIR/derives-span-PartialOrd-enum.rs:10:6
|
LL | Error
| ^^^^^ no implementation for `Error < Error` and `Error > Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: can't compare `Error` with `Error`
--> $DIR/derives-span-PartialOrd-struct.rs:8:5
--> $DIR/derives-span-PartialOrd-struct.rs:9:5
|
LL | x: Error
| ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`

View file

@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
#[derive(PartialEq)]

View file

@ -1,5 +1,5 @@
error[E0277]: can't compare `Error` with `Error`
--> $DIR/derives-span-PartialOrd-tuple-struct.rs:8:5
--> $DIR/derives-span-PartialOrd-tuple-struct.rs:9:5
|
LL | Error
| ^^^^^ no implementation for `Error < Error` and `Error > Error`