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