Replace some Option<Span> with Span and use DUMMY_SP instead of None
This commit is contained in:
@@ -110,7 +110,7 @@ mod temp_stable_hash_impls {
|
||||
|
||||
pub(crate) fn build_langcall<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
||||
bx: &Bx,
|
||||
span: Option<Span>,
|
||||
span: Span,
|
||||
li: LangItem,
|
||||
) -> (Bx::FnAbiOfResult, Bx::Value, Instance<'tcx>) {
|
||||
let tcx = bx.tcx();
|
||||
|
||||
Reference in New Issue
Block a user