File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ lint-commented-code = true
66
77[[disallowed-methods ]]
88path = " rustc_lint::context::LintContext::lint"
9- reason = " this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint*` functions instead"
9+ reason = " this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint*` functions instead"
1010
1111[[disallowed-methods ]]
1212path = " rustc_lint::context::LintContext::span_lint"
13- reason = " this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint*` functions instead"
13+ reason = " this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint*` functions instead"
1414
1515[[disallowed-methods ]]
1616path = " rustc_middle::ty::context::TyCtxt::node_span_lint"
17- reason = " this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint_hir*` functions instead"
17+ reason = " this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint_hir*` functions instead"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ error: use of a disallowed method `rustc_lint::context::LintContext::span_lint`
44LL | cx.span_lint(lint, span, |lint| {
55 | ^^^^^^^^^
66 |
7- = note: this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint*` functions instead
7+ = note: this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint*` functions instead
88note: the lint level is defined here
99 --> tests/ui-internal/disallow_span_lint.rs:2:9
1010 |
@@ -17,7 +17,7 @@ error: use of a disallowed method `rustc_middle::ty::context::TyCtxt::node_span_
1717LL | tcx.node_span_lint(lint, hir_id, span, |lint| {
1818 | ^^^^^^^^^^^^^^
1919 |
20- = note: this function does not add a link to our documentation, please use the `clippy_utils::diagnostics::span_lint_hir*` functions instead
20+ = note: this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint_hir*` functions instead
2121
2222error: aborting due to 2 previous errors
2323
You can’t perform that action at this time.
0 commit comments