Skip to content

Commit 899fa02

Browse files
authored
Rollup merge of rust-lang#152758 - cjgillot:noinit-box, r=RalfJung
Remove ShallowInitBox. All uses of this were removed by rust-lang#148190 Split from rust-lang#147862 r? @RalfJung
2 parents b8e86e6 + 1750703 commit 899fa02

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ fn check_rvalue<'tcx>(
194194
))
195195
}
196196
},
197-
Rvalue::ShallowInitBox(_, _) => Ok(()),
198197
Rvalue::UnaryOp(_, operand) => {
199198
let ty = operand.ty(body, cx.tcx);
200199
if ty.is_integral() || ty.is_bool() {

0 commit comments

Comments
 (0)