1
Fork 0

Rename TyCtxt::struct_lint_node as TyCtxt::node_lint.

This commit is contained in:
Nicholas Nethercote 2024-01-16 15:49:28 +11:00
parent 36e6514606
commit 681b9aa363
4 changed files with 5 additions and 5 deletions

View file

@ -677,7 +677,7 @@ impl<'tcx> LintContext for LateContext<'tcx> {
match span {
Some(s) => self.tcx.struct_span_lint_hir(lint, hir_id, s, msg, decorate),
None => self.tcx.struct_lint_node(lint, hir_id, msg, decorate),
None => self.tcx.node_lint(lint, hir_id, msg, decorate),
}
}