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
6
6
7
7
[[disallowed-methods ]]
8
8
path = " 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"
10
10
11
11
[[disallowed-methods ]]
12
12
path = " 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"
14
14
15
15
[[disallowed-methods ]]
16
16
path = " 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`
4
4
LL | cx.span_lint(lint, span, |lint| {
5
5
| ^^^^^^^^^
6
6
|
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
8
8
note: the lint level is defined here
9
9
--> tests/ui-internal/disallow_span_lint.rs:2:9
10
10
|
@@ -17,7 +17,7 @@ error: use of a disallowed method `rustc_middle::ty::context::TyCtxt::node_span_
17
17
LL | tcx.node_span_lint(lint, hir_id, span, |lint| {
18
18
| ^^^^^^^^^^^^^^
19
19
|
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
21
21
22
22
error: aborting due to 2 previous errors
23
23
You can’t perform that action at this time.
0 commit comments