Give Instance::expect_resolve a span

This commit is contained in:
Michael Goulet 2024-06-12 13:06:23 -04:00 committed by Guillaume Gomez
parent 2cc32badb4
commit 3eb28444b5

View File

@ -494,6 +494,7 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
ty::ParamEnv::reveal_all(),
def_id,
ty::List::empty(),
None,
);
let symbol_name = tcx.symbol_name(instance).name;