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 e5ece90 commit 5919b26Copy full SHA for 5919b26
clippy_utils/src/qualify_min_const_fn.rs
@@ -174,7 +174,7 @@ fn check_rvalue<'tcx>(
174
))
175
}
176
},
177
- Rvalue::NullaryOp(NullOp::SizeOf | NullOp::AlignOf | NullOp::OffsetOf(_) | NullOp::UbCheck(_), _)
+ Rvalue::NullaryOp(NullOp::SizeOf | NullOp::AlignOf | NullOp::OffsetOf(_) | NullOp::UbChecks, _)
178
| Rvalue::ShallowInitBox(_, _) => Ok(()),
179
Rvalue::UnaryOp(_, operand) => {
180
let ty = operand.ty(body, tcx);
0 commit comments