mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Fix merge conflicts.
This commit is contained in:
@@ -52,7 +52,7 @@ fn equate_intrinsic_type<'a, 'tcx>(ccx: &CrateCtxt<'a, 'tcx>,
|
||||
let i_n_tps = i_ty.generics.types.len();
|
||||
if i_n_tps != n_tps {
|
||||
let span = match it.node {
|
||||
hir::ForeignItemFn(_, ref generics) => generics.span().unwrap_or(it.span),
|
||||
hir::ForeignItemFn(_, ref generics) => generics.span,
|
||||
hir::ForeignItemStatic(_, _) => it.span
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user