]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/miri_unleashed/drop.rs
miri-unleash tests: ensure they fire even with 'allow(const_err)'
[rust.git] / src / test / ui / consts / miri_unleashed / drop.rs
index 2f39148d6972f6084b4258ed5250067a95473583..3b9208dd12609c014e30e28855e07af4768521e9 100644 (file)
@@ -1,6 +1,6 @@
 // compile-flags: -Zunleash-the-miri-inside-of-you
 // error-pattern: calling non-const function `<std::vec::Vec<i32> as std::ops::Drop>::drop`
-#![deny(const_err)]
+#![allow(const_err)]
 
 use std::mem::ManuallyDrop;