diff options
| author | bors <bors@rust-lang.org> | 2024-07-04 05:11:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-04 05:11:57 +0000 |
| commit | 4a4a81aec43d87abc962cb288af104531086afe8 (patch) | |
| tree | d3be0ce1b9ff8dada8e736c6921bb9b5c134dffd /compiler/rustc_codegen_gcc | |
| parent | b0d791d3cf13a7b61b3db49591b432d88af2aec8 (diff) | |
| parent | d24bfd48b25a3aced787a774c9d679956f164cc6 (diff) | |
| download | rust-4a4a81aec43d87abc962cb288af104531086afe8.tar.gz rust-4a4a81aec43d87abc962cb288af104531086afe8.zip | |
Auto merge of #3731 - rust-lang:rustup-2024-07-04, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/context.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/context.rs b/compiler/rustc_codegen_gcc/src/context.rs index 6231b09552c..1d689c9ac0e 100644 --- a/compiler/rustc_codegen_gcc/src/context.rs +++ b/compiler/rustc_codegen_gcc/src/context.rs @@ -17,7 +17,7 @@ use rustc_middle::ty::layout::{ }; use rustc_middle::ty::{self, Instance, ParamEnv, PolyExistentialTraitRef, Ty, TyCtxt}; use rustc_session::Session; -use rustc_span::{source_map::respan, Span}; +use rustc_span::{source_map::respan, Span, DUMMY_SP}; use rustc_target::abi::{ call::FnAbi, HasDataLayout, PointeeInfo, Size, TargetDataLayout, VariantIdx, }; @@ -479,6 +479,7 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> { ty::ParamEnv::reveal_all(), def_id, ty::List::empty(), + DUMMY_SP, ); let symbol_name = tcx.symbol_name(instance).name; |
