Rename TyCtxt::struct_span_lint_hir
as TyCtxt::node_span_lint
.
This commit is contained in:
parent
681b9aa363
commit
cfdea760f5
34 changed files with 56 additions and 68 deletions
|
@ -495,7 +495,7 @@ fn lint_auto_trait_impl<'tcx>(
|
|||
return;
|
||||
}
|
||||
|
||||
tcx.struct_span_lint_hir(
|
||||
tcx.node_span_lint(
|
||||
lint::builtin::SUSPICIOUS_AUTO_TRAIT_IMPLS,
|
||||
tcx.local_def_id_to_hir_id(impl_def_id),
|
||||
tcx.def_span(impl_def_id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue