Skip to content

Commit e2c99f0

Browse files
committed
unleashed Miri: open all the gates
1 parent eece58a commit e2c99f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_mir/transform/check_consts/validation.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ impl Validator<'mir, 'tcx> {
248248
return;
249249
}
250250

251-
// If an operation is supported in miri (and is not already controlled by a feature gate) it
252-
// can be turned on with `-Zunleash-the-miri-inside-of-you`.
253-
let is_unleashable = O::IS_SUPPORTED_IN_MIRI && O::feature_gate().is_none();
251+
// If an operation is supported in miri it can be turned on with
252+
// `-Zunleash-the-miri-inside-of-you`.
253+
let is_unleashable = O::IS_SUPPORTED_IN_MIRI;
254254

255255
if is_unleashable && self.tcx.sess.opts.debugging_opts.unleash_the_miri_inside_of_you {
256256
self.tcx.sess.span_warn(span, "skipping const checks");

0 commit comments

Comments
 (0)