Rename TyCtxt::emit_spanned_lint
as TyCtxt::emit_node_span_lint
.
This commit is contained in:
parent
82ca070c16
commit
e164cf30f8
32 changed files with 118 additions and 118 deletions
|
@ -112,7 +112,7 @@ fn has_ffi_unwind_calls(tcx: TyCtxt<'_>, local_def_id: LocalDefId) -> bool {
|
|||
let span = terminator.source_info.span;
|
||||
|
||||
let foreign = fn_def_id.is_some();
|
||||
tcx.emit_spanned_lint(
|
||||
tcx.emit_node_span_lint(
|
||||
FFI_UNWIND_CALLS,
|
||||
lint_root,
|
||||
span,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue