We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d38e861 commit 0e56bffCopy full SHA for 0e56bff
tests/compile-fail/erroneous_const.rs
@@ -1,5 +1,7 @@
1
//! Make sure we detect erroneous constants post-monomorphization even when they are unused.
2
//! (https://github.com/rust-lang/miri/issues/1382)
3
+// Inlining changes the error location
4
+// compile-flags: -Zmir-opt-level=0
5
#![feature(const_panic)]
6
#![feature(never_type)]
7
#![warn(warnings, const_err)]
0 commit comments