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