diff options
| author | Ralf Jung <post@ralfj.de> | 2019-12-24 12:28:24 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2019-12-24 12:28:36 +0100 |
| commit | ffb6aa1288e77c4251043ec08b5731a3a65d92fb (patch) | |
| tree | ff24497584720a9ccb824b18ff40329c7ad7259b | |
| parent | 072676023ee1ca5f69d071f85995c929e091eb52 (diff) | |
| download | rust-ffb6aa1288e77c4251043ec08b5731a3a65d92fb.tar.gz rust-ffb6aa1288e77c4251043ec08b5731a3a65d92fb.zip | |
this has sysroot spans to let's ignore it the usual way
| -rw-r--r-- | src/test/ui/consts/miri_unleashed/drop.rs | 1 | ||||
| -rw-r--r-- | src/test/ui/consts/miri_unleashed/drop.stderr | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/test/ui/consts/miri_unleashed/drop.rs b/src/test/ui/consts/miri_unleashed/drop.rs index ab9d874d579..99b317cb0d9 100644 --- a/src/test/ui/consts/miri_unleashed/drop.rs +++ b/src/test/ui/consts/miri_unleashed/drop.rs @@ -1,4 +1,5 @@ // compile-flags: -Zunleash-the-miri-inside-of-you +// ignore-x86 FIXME: missing sysroot spans (#53081) #![deny(const_err)] use std::mem::ManuallyDrop; diff --git a/src/test/ui/consts/miri_unleashed/drop.stderr b/src/test/ui/consts/miri_unleashed/drop.stderr index b8fc6a0271d..5603eeb6dc0 100644 --- a/src/test/ui/consts/miri_unleashed/drop.stderr +++ b/src/test/ui/consts/miri_unleashed/drop.stderr @@ -1,5 +1,5 @@ warning: skipping const checks - --> $DIR/drop.rs:17:9 + --> $DIR/drop.rs:18: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:19:1 + ::: $DIR/drop.rs:20: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:19:1 + | - 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 error: aborting due to previous error |
