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 eece58a commit e2c99f0Copy full SHA for e2c99f0
src/librustc_mir/transform/check_consts/validation.rs
@@ -248,9 +248,9 @@ impl Validator<'mir, 'tcx> {
248
return;
249
}
250
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();
+ // If an operation is supported in miri it can be turned on with
+ // `-Zunleash-the-miri-inside-of-you`.
+ let is_unleashable = O::IS_SUPPORTED_IN_MIRI;
254
255
if is_unleashable && self.tcx.sess.opts.debugging_opts.unleash_the_miri_inside_of_you {
256
self.tcx.sess.span_warn(span, "skipping const checks");
0 commit comments