about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-12 13:06:23 -0400
committerMichael Goulet <michael@errs.io>2024-07-02 15:48:48 -0400
commit014888b257453fc881dd69f578c6083357a10815 (patch)
treef4443bb0203464edd06646a64dd1db943b40aaa7
parent994041a40c81abe88d463240f6dcebed17bd97db (diff)
downloadrust-014888b257453fc881dd69f578c6083357a10815.tar.gz
rust-014888b257453fc881dd69f578c6083357a10815.zip
Give Instance::expect_resolve a span
-rw-r--r--src/context.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context.rs b/src/context.rs
index 6231b09552c..88ffcd7f4b5 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -479,6 +479,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;