Skip to content

Commit 7e26bf2

Browse files
committed
w
1 parent c947489 commit 7e26bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ impl<'tcx> Instance<'tcx> {
539539
// fine to erase all of the input regions.
540540
let typing_env = tcx.erase_regions(typing_env);
541541
let args = tcx.erase_regions(args);
542-
tcx.resolve_instance_raw(ty::PseudoCanonicalInput { typing_env, value: (def_id, args) })
542+
tcx.resolve_instance_raw(typing_env.as_query_input((def_id, args)))
543543
}
544544

545545
pub fn expect_resolve(

0 commit comments

Comments
 (0)