Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests

This commit is contained in:
Esteban Küber 2019-12-15 12:08:06 -08:00
parent 52b4681de4
commit 90bf0d2e33
90 changed files with 267 additions and 131 deletions

View File

@ -14,7 +14,9 @@ TEST_DIR = os.path.abspath(
os.path.join(os.path.dirname(__file__), '../test/ui/derives/'))
TEMPLATE = """\
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
{error_deriving}

View File

@ -1,5 +1,8 @@
// edition:2018
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
async fn print_dur() {}

View File

@ -1,5 +1,5 @@
error[E0728]: `await` is only allowed inside `async` functions and blocks
--> $DIR/issue-62009-1.rs:7:5
--> $DIR/issue-62009-1.rs:10:5
|
LL | fn main() {
| ---- this is not `async`
@ -7,7 +7,7 @@ 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:9:5
--> $DIR/issue-62009-1.rs:12:5
|
LL | fn main() {
| ---- this is not `async`
@ -19,7 +19,7 @@ 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:13:5
--> $DIR/issue-62009-1.rs:16:5
|
LL | fn main() {
| ---- this is not `async`
@ -27,11 +27,11 @@ LL | fn main() {
LL | (|_| 2333).await;
| ^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks
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
error[E0277]: the trait bound `[closure@$DIR/issue-62009-1.rs:16:5: 16:15]: std::future::Future` is not satisfied
--> $DIR/issue-62009-1.rs:16:5
|
LL | (|_| 2333).await;
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:13:5: 13:15]`
| ^^^^^^^^^^^^^^^^ the trait `std::future::Future` is not implemented for `[closure@$DIR/issue-62009-1.rs:16:5: 16:15]`
|
= note: required by `std::future::IntoFuture::into_future`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::thread;
use std::sync::mpsc::channel;

View File

@ -1,5 +1,5 @@
error[E0277]: `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
--> $DIR/closure-move-sync.rs:7:13
--> $DIR/closure-move-sync.rs:10:13
|
LL | let t = thread::spawn(|| {
| ^^^^^^^^^^^^^ `std::sync::mpsc::Receiver<()>` cannot be shared between threads safely
@ -11,10 +11,10 @@ LL | F: 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:7:27: 10:6 recv:&std::sync::mpsc::Receiver<()>]`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:10:27: 13:6 recv:&std::sync::mpsc::Receiver<()>]`
error[E0277]: `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
--> $DIR/closure-move-sync.rs:19:5
--> $DIR/closure-move-sync.rs:22:5
|
LL | thread::spawn(|| tx.send(()).unwrap());
| ^^^^^^^^^^^^^ `std::sync::mpsc::Sender<()>` cannot be shared between threads safely
@ -26,7 +26,7 @@ LL | F: 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:19:19: 19:42 tx:&std::sync::mpsc::Sender<()>]`
= note: required because it appears within the type `[closure@$DIR/closure-move-sync.rs:22:19: 22:42 tx:&std::sync::mpsc::Sender<()>]`
error: aborting due to 2 previous errors

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// error-pattern: cycle detected
struct Foo {

View File

@ -1,16 +1,16 @@
error[E0391]: cycle detected when const-evaluating + checking `Foo::bytes::{{constant}}#0`
--> $DIR/const-size_of-cycle.rs:5:17
--> $DIR/const-size_of-cycle.rs:8: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:5:17
--> $DIR/const-size_of-cycle.rs:8:17
|
LL | bytes: [u8; std::mem::size_of::<Foo>()]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
note: ...which requires const-evaluating `Foo::bytes::{{constant}}#0`...
--> $DIR/const-size_of-cycle.rs:5:17
--> $DIR/const-size_of-cycle.rs:8:17
|
LL | bytes: [u8; std::mem::size_of::<Foo>()]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -28,7 +28,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:4:1
--> $DIR/const-size_of-cycle.rs:7:1
|
LL | struct Foo {
| ^^^^^^^^^^

View File

@ -1,5 +1,8 @@
// compile-flags: -Zunleash-the-miri-inside-of-you
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// error-pattern: calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
#![deny(const_err)]

View File

@ -1,5 +1,5 @@
warning: skipping const checks
--> $DIR/drop.rs:18:9
--> $DIR/drop.rs:21:9
|
LL | let _v: Vec<i32> = Vec::new();
| ^^
@ -14,10 +14,10 @@ LL | | real_drop_in_place(to_drop)
LL | | }
| |_^ calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
|
::: $DIR/drop.rs:20:1
::: $DIR/drop.rs:23:1
|
LL | };
| - inside call to `std::ptr::real_drop_in_place::<std::vec::Vec<i32>> - shim(Some(std::vec::Vec<i32>))` at $DIR/drop.rs:20:1
| - inside call to `std::ptr::real_drop_in_place::<std::vec::Vec<i32>> - shim(Some(std::vec::Vec<i32>))` at $DIR/drop.rs:23:1
error: aborting due to previous error

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
#![feature(const_raw_ptr_deref)]
#![feature(const_ptr_offset_from)]

View File

@ -5,9 +5,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| ptr_offset_from cannot compute offset of pointers into different allocations.
| inside call to `std::ptr::const_ptr::<impl *const Struct>::offset_from` at $DIR/offset_from_ub.rs:19:27
| inside call to `std::ptr::const_ptr::<impl *const Struct>::offset_from` at $DIR/offset_from_ub.rs:22:27
|
::: $DIR/offset_from_ub.rs:13:1
::: $DIR/offset_from_ub.rs:16:1
|
LL | / pub const DIFFERENT_ALLOC: usize = {
LL | |
@ -27,9 +27,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| a memory access tried to interpret some bytes as a pointer
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:25:14
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:28:14
|
::: $DIR/offset_from_ub.rs:23:1
::: $DIR/offset_from_ub.rs:26:1
|
LL | / pub const NOT_PTR: usize = {
LL | |
@ -44,9 +44,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| exact_div: 1 cannot be divided by 2 without remainder
| inside call to `std::ptr::const_ptr::<impl *const u16>::offset_from` at $DIR/offset_from_ub.rs:33:14
| inside call to `std::ptr::const_ptr::<impl *const u16>::offset_from` at $DIR/offset_from_ub.rs:36:14
|
::: $DIR/offset_from_ub.rs:28:1
::: $DIR/offset_from_ub.rs:31:1
|
LL | / pub const NOT_MULTIPLE_OF_SIZE: isize = {
LL | |
@ -64,9 +64,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| invalid use of NULL pointer
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:39:14
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:42:14
|
::: $DIR/offset_from_ub.rs:36:1
::: $DIR/offset_from_ub.rs:39:1
|
LL | / pub const OFFSET_FROM_NULL: isize = {
LL | |
@ -82,9 +82,9 @@ LL | intrinsics::ptr_offset_from(self, origin)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| a memory access tried to interpret some bytes as a pointer
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:46:14
| inside call to `std::ptr::const_ptr::<impl *const u8>::offset_from` at $DIR/offset_from_ub.rs:49:14
|
::: $DIR/offset_from_ub.rs:42:1
::: $DIR/offset_from_ub.rs:45:1
|
LL | / pub const DIFFERENT_INT: isize = { // offset_from with two different integers: like DIFFERENT_ALLOC
LL | |

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Clone-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Clone-enum.rs:13:6
|
LL | Error
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Clone-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Clone-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ the trait `std::clone::Clone` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Debug-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Debug-enum.rs:13:6
|
LL | Error
| ^^^^^ `Error` cannot be formatted using `{:?}`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Debug-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ `Error` cannot be formatted using `{:?}`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Debug-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ `Error` cannot be formatted using `{:?}`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Default-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::default::Default` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Default-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ the trait `std::default::Default` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Eq-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Eq-enum.rs:13:6
|
LL | Error
| ^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Eq-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Eq-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ the trait `std::cmp::Eq` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Hash-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View File

@ -1,7 +1,9 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// This file was auto-generated using 'src/etc/generate-deriving-span-tests.py'
struct Error;
#[derive(Hash)]

View File

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

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Hash-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Hash-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ the trait `std::hash::Hash` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Ord-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-Ord-enum.rs:13:6
|
LL | Error
| ^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Ord-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-Ord-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ the trait `std::cmp::Ord` is not implemented for `Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:13: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:10:6
--> $DIR/derives-span-PartialEq-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-PartialEq-enum.rs:13: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:10:6
--> $DIR/derives-span-PartialEq-enum.rs:13:6
|
LL | Error
| ^^^^^

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-PartialEq-struct.rs:12: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:9:5
--> $DIR/derives-span-PartialEq-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-PartialEq-tuple-struct.rs:12: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:9:5
--> $DIR/derives-span-PartialEq-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-PartialOrd-enum-struct-variant.rs:13:6
|
LL | x: Error
| ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:10:6
--> $DIR/derives-span-PartialOrd-enum.rs:13:6
|
LL | Error
| ^^^^^ no implementation for `Error < Error` and `Error > Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-PartialOrd-struct.rs:12:5
|
LL | x: Error
| ^^^^^^^^ no implementation for `Error < Error` and `Error > Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// 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:9:5
--> $DIR/derives-span-PartialOrd-tuple-struct.rs:12:5
|
LL | Error
| ^^^^^ no implementation for `Error < Error` and `Error > Error`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::fmt::Debug;

View File

@ -1,5 +1,5 @@
error[E0643]: method `foo` has incompatible signature for trait
--> $DIR/impl-generic-mismatch.rs:10:12
--> $DIR/impl-generic-mismatch.rs:13:12
|
LL | fn foo(&self, _: &impl Debug);
| ---------- declaration in trait here
@ -13,7 +13,7 @@ LL | fn foo(&self, _: &impl Debug) { }
| -- ^^^^^^^^^^
error[E0643]: method `bar` has incompatible signature for trait
--> $DIR/impl-generic-mismatch.rs:19:23
--> $DIR/impl-generic-mismatch.rs:22:23
|
LL | fn bar<U: Debug>(&self, _: &U);
| - declaration in trait here
@ -27,7 +27,7 @@ LL | fn bar<U: Debug>(&self, _: &U) { }
| ^^^^^^^^^^ ^
error[E0643]: method `hash` has incompatible signature for trait
--> $DIR/impl-generic-mismatch.rs:30:33
--> $DIR/impl-generic-mismatch.rs:33:33
|
LL | fn hash(&self, hasher: &mut impl Hasher) {}
| ^^^^^^^^^^^ expected generic parameter, found `impl Trait`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// aux-build:two_macros.rs
macro_rules! define_vec {

View File

@ -1,5 +1,5 @@
error: macro-expanded `extern crate` items cannot shadow names passed with `--extern`
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:20:9
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:23:9
|
LL | extern crate std as core;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
@ -8,13 +8,13 @@ LL | define_other_core!();
| --------------------- in this macro invocation
error[E0659]: `Vec` is ambiguous (macro-expanded name vs less macro-expanded name from outer scope during import/macro resolution)
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:14:9
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:17:9
|
LL | Vec::panic!();
| ^^^ ambiguous name
|
note: `Vec` could refer to the crate imported here
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:6:9
--> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:9:9
|
LL | extern crate std as Vec;
| ^^^^^^^^^^^^^^^^^^^^^^^^

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::ops::Deref;
trait Trait {}

View File

@ -1,5 +1,5 @@
error: `impl` item signature doesn't match `trait` item signature
--> $DIR/mismatched_trait_impl-2.rs:9:5
--> $DIR/mismatched_trait_impl-2.rs:12:5
|
LL | fn deref(&self) -> &dyn Trait {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found fn(&Struct) -> &dyn Trait

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::cell::Cell;
use std::panic::catch_unwind;
fn main() {

View File

@ -1,5 +1,5 @@
error[E0277]: the type `std::cell::UnsafeCell<i32>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
--> $DIR/interior-mutability.rs:6:5
--> $DIR/interior-mutability.rs:9:5
|
LL | catch_unwind(|| { x.set(23); });
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<i32>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
@ -12,7 +12,7 @@ LL | pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
= help: within `std::cell::Cell<i32>`, the trait `std::panic::RefUnwindSafe` is not implemented for `std::cell::UnsafeCell<i32>`
= note: required because it appears within the type `std::cell::Cell<i32>`
= note: required because of the requirements on the impl of `std::panic::UnwindSafe` for `&std::cell::Cell<i32>`
= note: required because it appears within the type `[closure@$DIR/interior-mutability.rs:6:18: 6:35 x:&std::cell::Cell<i32>]`
= note: required because it appears within the type `[closure@$DIR/interior-mutability.rs:9:18: 9:35 x:&std::cell::Cell<i32>]`
error: aborting due to previous error

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
struct Bar;
impl Bar {

View File

@ -1,5 +1,5 @@
error[E0277]: the trait bound `Bar: std::hash::Hash` is not satisfied
--> $DIR/issue-21160.rs:9:12
--> $DIR/issue-21160.rs:12:12
|
LL | struct Foo(Bar);
| ^^^ the trait `std::hash::Hash` is not implemented for `Bar`

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
fn main() {
match Some(1) {
None @ _ => {} //~ ERROR match bindings cannot shadow unit variants

View File

@ -1,5 +1,5 @@
error[E0530]: match bindings cannot shadow unit variants
--> $DIR/issue-27033.rs:4:9
--> $DIR/issue-27033.rs:7:9
|
LL | None @ _ => {}
| ^^^^ cannot be named the same as a unit variant
@ -10,7 +10,7 @@ LL | pub use crate::option::Option::{self, None, Some};
| ---- the unit variant `None` is defined here
error[E0530]: match bindings cannot shadow constants
--> $DIR/issue-27033.rs:8:9
--> $DIR/issue-27033.rs:11:9
|
LL | const C: u8 = 1;
| ---------------- the constant `C` is defined here

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::thread;
use std::rc::Rc;

View File

@ -1,5 +1,5 @@
error[E0277]: `std::rc::Rc<()>` cannot be sent between threads safely
--> $DIR/no-send-res-ports.rs:26:5
--> $DIR/no-send-res-ports.rs:29:5
|
LL | thread::spawn(move|| {
| ^^^^^^^^^^^^^ `std::rc::Rc<()>` cannot be sent between threads safely
@ -9,10 +9,10 @@ LL | thread::spawn(move|| {
LL | F: Send + 'static,
| ---- required by this bound in `std::thread::spawn`
|
= help: within `[closure@$DIR/no-send-res-ports.rs:26:19: 30:6 x:main::Foo]`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<()>`
= help: within `[closure@$DIR/no-send-res-ports.rs:29:19: 33:6 x:main::Foo]`, the trait `std::marker::Send` is not implemented for `std::rc::Rc<()>`
= note: required because it appears within the type `Port<()>`
= note: required because it appears within the type `main::Foo`
= note: required because it appears within the type `[closure@$DIR/no-send-res-ports.rs:26:19: 30:6 x:main::Foo]`
= note: required because it appears within the type `[closure@$DIR/no-send-res-ports.rs:29:19: 33:6 x:main::Foo]`
error: aborting due to previous error

View File

@ -1,5 +1,8 @@
// compile-flags: --test
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::num::ParseFloatError;

View File

@ -1,5 +1,5 @@
error[E0277]: `main` has invalid return type `std::result::Result<f32, std::num::ParseFloatError>`
--> $DIR/termination-trait-test-wrong-type.rs:7:1
--> $DIR/termination-trait-test-wrong-type.rs:10:1
|
LL | / fn can_parse_zero_as_f32() -> Result<f32, ParseFloatError> {
LL | | "0".parse()

View File

@ -1,4 +1,7 @@
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
use std::mem;
struct Misc<T:?Sized>(T);

View File

@ -1,5 +1,5 @@
error[E0277]: the size for values of type `U` cannot be known at compilation time
--> $DIR/trait-suggest-where-clause.rs:8:20
--> $DIR/trait-suggest-where-clause.rs:11:20
|
LL | fn check<T: Iterator, U: ?Sized>() {
| -- help: consider further restricting this bound: `U: std::marker::Sized +`
@ -16,7 +16,7 @@ LL | pub const fn size_of<T>() -> usize {
= note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
error[E0277]: the size for values of type `U` cannot be known at compilation time
--> $DIR/trait-suggest-where-clause.rs:11:5
--> $DIR/trait-suggest-where-clause.rs:14:5
|
LL | fn check<T: Iterator, U: ?Sized>() {
| -- help: consider further restricting this bound: `U: std::marker::Sized +`
@ -34,7 +34,7 @@ LL | pub const fn size_of<T>() -> usize {
= note: required because it appears within the type `Misc<U>`
error[E0277]: the trait bound `u64: std::convert::From<T>` is not satisfied
--> $DIR/trait-suggest-where-clause.rs:16:5
--> $DIR/trait-suggest-where-clause.rs:19:5
|
LL | <u64 as From<T>>::from;
| ^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<T>` is not implemented for `u64`
@ -42,7 +42,7 @@ LL | <u64 as From<T>>::from;
= note: required by `std::convert::From::from`
error[E0277]: the trait bound `u64: std::convert::From<<T as std::iter::Iterator>::Item>` is not satisfied
--> $DIR/trait-suggest-where-clause.rs:19:5
--> $DIR/trait-suggest-where-clause.rs:22:5
|
LL | <u64 as From<<T as Iterator>::Item>>::from;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<<T as std::iter::Iterator>::Item>` is not implemented for `u64`
@ -50,7 +50,7 @@ LL | <u64 as From<<T as Iterator>::Item>>::from;
= note: required by `std::convert::From::from`
error[E0277]: the trait bound `Misc<_>: std::convert::From<T>` is not satisfied
--> $DIR/trait-suggest-where-clause.rs:24:5
--> $DIR/trait-suggest-where-clause.rs:27:5
|
LL | <Misc<_> as From<T>>::from;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<T>` is not implemented for `Misc<_>`
@ -58,7 +58,7 @@ LL | <Misc<_> as From<T>>::from;
= note: required by `std::convert::From::from`
error[E0277]: the size for values of type `[T]` cannot be known at compilation time
--> $DIR/trait-suggest-where-clause.rs:29:20
--> $DIR/trait-suggest-where-clause.rs:32:20
|
LL | mem::size_of::<[T]>();
| ^^^ doesn't have a size known at compile-time
@ -72,7 +72,7 @@ LL | pub const fn size_of<T>() -> usize {
= note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
error[E0277]: the size for values of type `[&U]` cannot be known at compilation time
--> $DIR/trait-suggest-where-clause.rs:32:5
--> $DIR/trait-suggest-where-clause.rs:35:5
|
LL | mem::size_of::<[&U]>();
| ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time

View File

@ -1,5 +1,8 @@
// build-fail
// ignore-x86 FIXME: missing sysroot spans (#53081)
// FIXME: missing sysroot spans (#53081)
// ignore-i586-unknown-linux-gnu
// ignore-i586-unknown-linux-musl
// ignore-i686-unknown-linux-musl
// error-pattern: reached the type-length limit while instantiating
// Test that the type length limit can be changed.