Skip to content

Commit f7dfcec

Browse files
committed
Update for upstream changes
1 parent f996c3b commit f7dfcec

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

flake.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mir.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fn remap_mir_for_const_eval_select<'tcx>(
6666
};
6767
let (method, place): (fn(Place<'tcx>) -> Operand<'tcx>, Place<'tcx>) =
6868
match tupled_args.node {
69-
Operand::Constant(_) => {
69+
Operand::Constant(_) | Operand::RuntimeChecks(_) => {
7070
// there is no good way of extracting a tuple arg from a constant (const generic stuff)
7171
// so we just create a temporary and deconstruct that.
7272
let local = body.local_decls.push(LocalDecl::new(ty, fn_span));

0 commit comments

Comments
 (0)