Fix spans
This commit is contained in:
parent
0f7f3f4045
commit
3273ccea4b
11 changed files with 36 additions and 36 deletions
|
@ -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,7 +479,7 @@ impl<'gcc, 'tcx> MiscMethods<'tcx> for CodegenCx<'gcc, 'tcx> {
|
|||
ty::ParamEnv::reveal_all(),
|
||||
def_id,
|
||||
ty::List::empty(),
|
||||
None,
|
||||
DUMMY_SP,
|
||||
);
|
||||
|
||||
let symbol_name = tcx.symbol_name(instance).name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue