]> git.lizzy.rs Git - rust.git/commitdiff
this has sysroot spans to let's ignore it the usual way
authorRalf Jung <post@ralfj.de>
Tue, 24 Dec 2019 11:28:24 +0000 (12:28 +0100)
committerRalf Jung <post@ralfj.de>
Tue, 24 Dec 2019 11:28:36 +0000 (12:28 +0100)
src/test/ui/consts/miri_unleashed/drop.rs
src/test/ui/consts/miri_unleashed/drop.stderr

index ab9d874d579d85ae14cc875a0b49e78ae13a5771..99b317cb0d9881f9b17658ef918d8f2d479df3fc 100644 (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;
index b8fc6a0271d772d4395ab816f6b9c13263df9f5c..5603eeb6dc037a7dae590fdc61b574e9261cf158 100644 (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