From ffb6aa1288e77c4251043ec08b5731a3a65d92fb Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 24 Dec 2019 12:28:24 +0100 Subject: [PATCH] this has sysroot spans to let's ignore it the usual way --- src/test/ui/consts/miri_unleashed/drop.rs | 1 + 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 ab9d874d579d..99b317cb0d98 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 b8fc6a0271d7..5603eeb6dc03 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 = Vec::new(); | ^^ @@ -14,10 +14,10 @@ LL | | real_drop_in_place(to_drop) LL | | } | |_^ calling non-const function ` 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::> - shim(Some(std::vec::Vec))` at $DIR/drop.rs:19:1 + | - inside call to `std::ptr::real_drop_in_place::> - shim(Some(std::vec::Vec))` at $DIR/drop.rs:20:1 error: aborting due to previous error