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 c947489 commit 7e26bf2Copy full SHA for 7e26bf2
compiler/rustc_middle/src/ty/instance.rs
@@ -539,7 +539,7 @@ impl<'tcx> Instance<'tcx> {
539
// fine to erase all of the input regions.
540
let typing_env = tcx.erase_regions(typing_env);
541
let args = tcx.erase_regions(args);
542
- tcx.resolve_instance_raw(ty::PseudoCanonicalInput { typing_env, value: (def_id, args) })
+ tcx.resolve_instance_raw(typing_env.as_query_input((def_id, args)))
543
}
544
545
pub fn expect_resolve(
0 commit comments