Skip to content

Commit

Permalink
this has sysroot spans to let's ignore it the usual way
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 24, 2019
1 parent 0726760 commit ffb6aa1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions 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;
Expand Down
6 changes: 3 additions & 3 deletions 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();
| ^^
Expand All @@ -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

Expand Down

0 comments on commit ffb6aa1

Please sign in to comment.