Skip to content

Commit

Permalink
Rollup merge of rust-lang#66049 - RalfJung:missing-spans, r=alexcrichton
Browse files Browse the repository at this point in the history
consistent handling of missing sysroot spans

Due to rust-lang#53081, sysroot spans (pointing to code in libcore/libstd/...) fails to print on some x86 runners. This consolidates the ignore directives for that and references the relevant issue.

I also did that for the generated derive-error-span tests -- but there the script and the tests were not entirely in sync any more since rust-lang#64151. Cc @estebank @varkor
  • Loading branch information
Centril authored Nov 7, 2019
2 parents 9430418 + 1808968 commit aa71057
Show file tree
Hide file tree
Showing 86 changed files with 114 additions and 106 deletions.
3 changes: 1 addition & 2 deletions src/etc/generate-deriving-span-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
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}
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/async-await/issues/issue-62009-1.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// edition:2018
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)

async fn print_dur() {}

Expand Down
12 changes: 6 additions & 6 deletions src/test/ui/async-await/issues/issue-62009-1.stderr
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
error[E0728]: `await` is only allowed inside `async` functions and blocks
--> $DIR/issue-62009-1.rs:8:5
--> $DIR/issue-62009-1.rs:7:5
|
LL | fn main() {
| ---- this is not `async`
LL | async { let (); }.await;
| ^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks

error[E0728]: `await` is only allowed inside `async` functions and blocks
--> $DIR/issue-62009-1.rs:10:5
--> $DIR/issue-62009-1.rs:9:5
|
LL | fn main() {
| ---- this is not `async`
Expand All @@ -19,19 +19,19 @@ LL | | }.await;
| |___________^ only allowed inside `async` functions and blocks

error[E0728]: `await` is only allowed inside `async` functions and blocks
--> $DIR/issue-62009-1.rs:14:5
--> $DIR/issue-62009-1.rs:13:5
|
LL | fn main() {
| ---- this is not `async`
...
LL | (|_| 2333).await;
| ^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks

error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:14:5: 14:15]: std::future::Future` is not satisfied
--> $DIR/issue-62009-1.rs:14:5
error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:13:5: 13:15]: std::future::Future` is not satisfied
--> $DIR/issue-62009-1.rs:13:5
|
LL | (|_| 2333).await;
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:14:5: 14:15]`
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:13:5: 13:15]`
|
::: $SRC_DIR/libstd/future.rs:LL:COL
|
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/closures/closure-move-sync.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// ignore-x86
// ^ due to stderr output differences
// ignore-x86 FIXME: missing sysroot spans (#53081)
use std::thread;
use std::sync::mpsc::channel;

Expand Down
8 changes: 4 additions & 4 deletions src/test/ui/closures/closure-move-sync.stderr
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
error[E0277]: `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
--> $DIR/closure-move-sync.rs:8:13
--> $DIR/closure-move-sync.rs:7:13
|
LL | let t = thread::spawn(|| {
| ^^^^^^^^^^^^^ `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
Expand All @@ -11,10 +11,10 @@ LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
|
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Receiver<()>`
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Receiver<()>`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:8:27: 11:6 recv:&std::sync::mpsc::Receiver<()>]`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:7:27: 10:6 recv:&std::sync::mpsc::Receiver<()>]`

error[E0277]: `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
--> $DIR/closure-move-sync.rs:20:5
--> $DIR/closure-move-sync.rs:19:5
|
LL | thread::spawn(|| tx.send(()).unwrap());
| ^^^^^^^^^^^^^ `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
Expand All @@ -26,7 +26,7 @@ LL | F: FnOnce() -> T, F: Send + 'static, T: Send + 'static
|
= help: the trait `std::marker::Sync` is not implemented for `std::sync::mpsc::Sender<()>`
= note: required because of the requirements on the impl of `std::marker::Send` for `&std::sync::mpsc::Sender<()>`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:20:19: 20:42 tx:&std::sync::mpsc::Sender<()>]`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:19:19: 19:42 tx:&std::sync::mpsc::Sender<()>]`

error: aborting due to 2 previous errors

Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/consts/const-size_of-cycle.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// ignore-musl
// ignore-x86
// ignore-x86 FIXME: missing sysroot spans (#53081)
// error-pattern: cycle detected

struct Foo {
Expand Down
6 changes: 3 additions & 3 deletions src/test/ui/consts/const-size_of-cycle.stderr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error[E0391]: cycle detected when const-evaluating + checking `Foo::bytes::{{constant}}#0`
--> $DIR/const-size_of-cycle.rs:6:17
--> $DIR/const-size_of-cycle.rs:5:17
|
LL | bytes: [u8; std::mem::size_of::<Foo>()]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: ...which requires const-evaluating + checking `Foo::bytes::{{constant}}#0`...
--> $DIR/const-size_of-cycle.rs:6:17
--> $DIR/const-size_of-cycle.rs:5:17
|
LL | bytes: [u8; std::mem::size_of::<Foo>()]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -23,7 +23,7 @@ LL | pub fn size_of<T>() -> usize;
= note: ...which requires normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All, def_id: None }, value: [u8; _] }`...
= note: ...which again requires const-evaluating + checking `Foo::bytes::{{constant}}#0`, completing the cycle
note: cycle used when processing `Foo`
--> $DIR/const-size_of-cycle.rs:5:1
--> $DIR/const-size_of-cycle.rs:4:1
|
LL | struct Foo {
| ^^^^^^^^^^
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Clone-enum.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Clone-enum.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Clone-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Clone-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Clone-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Clone-tuple-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
Original file line number Diff line number Diff line change
@@ -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 `{:?}`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Debug-enum.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Debug-enum.stderr
Original file line number Diff line number Diff line change
@@ -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 `{:?}`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Debug-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Debug-struct.stderr
Original file line number Diff line number Diff line change
@@ -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 `{:?}`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Debug-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Debug-tuple-struct.stderr
Original file line number Diff line number Diff line change
@@ -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 `{:?}`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Default-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Default-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Default-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'


Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Eq-enum-struct-variant.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Eq-enum.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Eq-enum.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Eq-struct.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Eq-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Eq-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Eq-tuple-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/derives/derives-span-Hash-enum-struct-variant.rs
Original file line number Diff line number Diff line change
@@ -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'


Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/derives/derives-span-Hash-enum.rs
Original file line number Diff line number Diff line change
@@ -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'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Hash-enum.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/derives/derives-span-Hash-struct.rs
Original file line number Diff line number Diff line change
@@ -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'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Hash-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
3 changes: 1 addition & 2 deletions src/test/ui/derives/derives-span-Hash-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -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'


Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Hash-tuple-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Ord-enum.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Ord-enum.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Ord-struct.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Ord-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions src/test/ui/derives/derives-span-Ord-tuple-struct.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/derives/derives-span-Ord-tuple-struct.stderr
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
Loading

0 comments on commit aa71057

Please sign in to comment.