File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/test/ui/consts/miri_unleashed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11// compile-flags: -Zunleash-the-miri-inside-of-you
2+ // ignore-x86 FIXME: missing sysroot spans (#53081)
23#![ deny( const_err) ]
34
45use std:: mem:: ManuallyDrop ;
Original file line number Diff line number Diff line change 11warning: skipping const checks
2- --> $DIR/drop.rs:17 :9
2+ --> $DIR/drop.rs:18 :9
33 |
44LL | let _v: Vec<i32> = Vec::new();
55 | ^^
@@ -14,10 +14,10 @@ LL | | real_drop_in_place(to_drop)
1414LL | | }
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 |
1919LL | };
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
2222error: aborting due to previous error
2323
You can’t perform that action at this time.
0 commit comments