]> git.proxmox.com Git - rustc.git/blame - src/test/rustdoc-ui/renamed-lint-still-applies.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / rustdoc-ui / renamed-lint-still-applies.stderr
CommitLineData
136023e0
XL
1warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links`
2 --> $DIR/renamed-lint-still-applies.rs:2:9
3 |
4LL | #![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
cdc7bbd5 9warning: lint `rustdoc::non_autolinks` has been renamed to `rustdoc::bare_urls`
136023e0 10 --> $DIR/renamed-lint-still-applies.rs:7:9
cdc7bbd5
XL
11 |
12LL | #![deny(rustdoc::non_autolinks)]
13 | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::bare_urls`
cdc7bbd5 14
6a06907d 15error: unresolved link to `x`
136023e0 16 --> $DIR/renamed-lint-still-applies.rs:4:6
6a06907d
XL
17 |
18LL | //! [x]
19 | ^ no item named `x` in scope
20 |
2b03887a 21 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
6a06907d
XL
22note: the lint level is defined here
23 --> $DIR/renamed-lint-still-applies.rs:2:9
24 |
25LL | #![deny(broken_intra_doc_links)]
26 | ^^^^^^^^^^^^^^^^^^^^^^
6a06907d 27
cdc7bbd5 28error: this URL is not a hyperlink
136023e0 29 --> $DIR/renamed-lint-still-applies.rs:9:5
cdc7bbd5
XL
30 |
31LL | //! http://example.com
32 | ^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com>`
33 |
2b03887a 34 = note: bare URLs are not automatically turned into clickable links
cdc7bbd5 35note: the lint level is defined here
136023e0 36 --> $DIR/renamed-lint-still-applies.rs:7:9
cdc7bbd5
XL
37 |
38LL | #![deny(rustdoc::non_autolinks)]
39 | ^^^^^^^^^^^^^^^^^^^^^^
cdc7bbd5 40
136023e0 41error: aborting due to 2 previous errors; 2 warnings emitted
6a06907d 42