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

This commit is contained in:
Ralf Jung 2019-12-24 12:28:24 +01:00
parent 072676023e
commit ffb6aa1288
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

@ -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