File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_middle/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ pub fn explain_lint_level_source(
249
249
/// for example:
250
250
/// - [`TyCtxt::emit_spanned_lint`]
251
251
/// - [`TyCtxt::node_span_lint`]
252
- /// - [`TyCtxt::emit_lint `]
252
+ /// - [`TyCtxt::emit_node_lint `]
253
253
/// - [`TyCtxt::node_lint`]
254
254
/// - `LintContext::opt_span_lint`
255
255
///
Original file line number Diff line number Diff line change @@ -2111,7 +2111,7 @@ impl<'tcx> TyCtxt<'tcx> {
2111
2111
/// Emit a lint from a lint struct (some type that implements `DecorateLint`, typically
2112
2112
/// generated by `#[derive(LintDiagnostic)]`).
2113
2113
#[ track_caller]
2114
- pub fn emit_lint (
2114
+ pub fn emit_node_lint (
2115
2115
self ,
2116
2116
lint : & ' static Lint ,
2117
2117
id : HirId ,
You can’t perform that action at this time.
0 commit comments