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 5ffd498 commit 127c232Copy full SHA for 127c232
src/base.rs
@@ -779,7 +779,7 @@ fn codegen_stmt<'tcx>(
779
NullOp::OffsetOf(fields) => {
780
layout.offset_of_subfield(fx, fields.iter()).bytes()
781
}
782
- NullOp::DebugAssertions => {
+ NullOp::UbCheck(_) => {
783
let val = fx.tcx.sess.opts.debug_assertions;
784
let val = CValue::by_val(
785
fx.bcx.ins().iconst(types::I8, i64::try_from(val).unwrap()),
0 commit comments