Skip to content

Commit ffb6aa1

Browse files
committed
this has sysroot spans to let's ignore it the usual way
1 parent 0726760 commit ffb6aa1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/ui/consts/miri_unleashed/drop.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// compile-flags: -Zunleash-the-miri-inside-of-you
2+
// ignore-x86 FIXME: missing sysroot spans (#53081)
23
#![deny(const_err)]
34

45
use std::mem::ManuallyDrop;

src/test/ui/consts/miri_unleashed/drop.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: skipping const checks
2-
--> $DIR/drop.rs:17:9
2+
--> $DIR/drop.rs:18:9
33
|
44
LL | let _v: Vec<i32> = Vec::new();
55
| ^^
@@ -14,10 +14,10 @@ LL | | real_drop_in_place(to_drop)
1414
LL | | }
1515
| |_^ calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
1616
|
17-
::: $DIR/drop.rs:19:1
17+
::: $DIR/drop.rs:20:1
1818
|
1919
LL | };
20-
| - 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
20+
| - 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
2121

2222
error: aborting due to previous error
2323

0 commit comments

Comments
 (0)