2021-07-03 14:20:29 -05:00
|
|
|
warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links`
|
|
|
|
--> $DIR/renamed-lint-still-applies.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![deny(broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
|
|
|
|
|
|
|
|
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
|
|
|
|
|
2021-03-27 23:25:07 -05:00
|
|
|
warning: lint `rustdoc::non_autolinks` has been renamed to `rustdoc::bare_urls`
|
2021-07-03 14:20:29 -05:00
|
|
|
--> $DIR/renamed-lint-still-applies.rs:7:9
|
2021-03-27 23:25:07 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc::non_autolinks)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::bare_urls`
|
|
|
|
|
2021-02-27 23:49:15 -06:00
|
|
|
error: unresolved link to `x`
|
2021-07-03 14:20:29 -05:00
|
|
|
--> $DIR/renamed-lint-still-applies.rs:4:6
|
2021-02-27 23:49:15 -06:00
|
|
|
|
|
|
|
|
LL | //! [x]
|
|
|
|
| ^ no item named `x` in scope
|
|
|
|
|
|
2022-09-23 13:34:34 -05:00
|
|
|
= help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
|
2021-02-27 23:49:15 -06:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/renamed-lint-still-applies.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![deny(broken_intra_doc_links)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-03-27 23:25:07 -05:00
|
|
|
error: this URL is not a hyperlink
|
2021-07-03 14:20:29 -05:00
|
|
|
--> $DIR/renamed-lint-still-applies.rs:9:5
|
2021-03-27 23:25:07 -05:00
|
|
|
|
|
|
|
|
LL | //! http://example.com
|
|
|
|
| ^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com>`
|
|
|
|
|
|
2022-09-23 13:34:34 -05:00
|
|
|
= note: bare URLs are not automatically turned into clickable links
|
2021-03-27 23:25:07 -05:00
|
|
|
note: the lint level is defined here
|
2021-07-03 14:20:29 -05:00
|
|
|
--> $DIR/renamed-lint-still-applies.rs:7:9
|
2021-03-27 23:25:07 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(rustdoc::non_autolinks)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-07-03 14:20:29 -05:00
|
|
|
error: aborting due to 2 previous errors; 2 warnings emitted
|
2021-02-27 23:49:15 -06:00
|
|
|
|