Skip to content
Permalink
Browse files

this has sysroot spans to let's ignore it the usual way

  • Loading branch information
RalfJung committed Dec 24, 2019
1 parent 0726760 commit ffb6aa1288e77c4251043ec08b5731a3a65d92fb
Showing with 4 additions and 3 deletions.
  1. +1 −0 src/test/ui/consts/miri_unleashed/drop.rs
  2. +3 −3 src/test/ui/consts/miri_unleashed/drop.stderr
@@ -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;
@@ -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

0 comments on commit ffb6aa1

Please sign in to comment.
You can’t perform that action at this time.