1
+ warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links`
2
+ --> $DIR/renamed-lint-still-applies.rs:2:9
3
+ |
4
+ LL | #![deny(broken_intra_doc_links)]
5
+ | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
6
+ |
7
+ = note: `#[warn(renamed_and_removed_lints)]` on by default
8
+
1
9
warning: lint `rustdoc::non_autolinks` has been renamed to `rustdoc::bare_urls`
2
- --> $DIR/renamed-lint-still-applies.rs:8 :9
10
+ --> $DIR/renamed-lint-still-applies.rs:7 :9
3
11
|
4
12
LL | #![deny(rustdoc::non_autolinks)]
5
13
| ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::bare_urls`
6
- |
7
- = note: `#[warn(renamed_and_removed_lints)]` on by default
8
14
9
15
error: unresolved link to `x`
10
- --> $DIR/renamed-lint-still-applies.rs:5 :6
16
+ --> $DIR/renamed-lint-still-applies.rs:4 :6
11
17
|
12
18
LL | //! [x]
13
19
| ^ no item named `x` in scope
@@ -17,21 +23,20 @@ note: the lint level is defined here
17
23
|
18
24
LL | #![deny(broken_intra_doc_links)]
19
25
| ^^^^^^^^^^^^^^^^^^^^^^
20
- = note: `#[deny(rustdoc::broken_intra_doc_links)]` implied by `#[deny(broken_intra_doc_links)]`
21
26
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
22
27
23
28
error: this URL is not a hyperlink
24
- --> $DIR/renamed-lint-still-applies.rs:10 :5
29
+ --> $DIR/renamed-lint-still-applies.rs:9 :5
25
30
|
26
31
LL | //! http://example.com
27
32
| ^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com>`
28
33
|
29
34
note: the lint level is defined here
30
- --> $DIR/renamed-lint-still-applies.rs:8 :9
35
+ --> $DIR/renamed-lint-still-applies.rs:7 :9
31
36
|
32
37
LL | #![deny(rustdoc::non_autolinks)]
33
38
| ^^^^^^^^^^^^^^^^^^^^^^
34
39
= note: bare URLs are not automatically turned into clickable links
35
40
36
- error: aborting due to 2 previous errors; 1 warning emitted
41
+ error: aborting due to 2 previous errors; 2 warnings emitted
37
42
0 commit comments