summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/renamed-lint-still-applies.stderr
blob: ee9b67cb91be669648a1dba9dc003b07df7f60e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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

warning: lint `rustdoc::non_autolinks` has been renamed to `rustdoc::bare_urls`
  --> $DIR/renamed-lint-still-applies.rs:7:9
   |
LL | #![deny(rustdoc::non_autolinks)]
   |         ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::bare_urls`

error: unresolved link to `x`
  --> $DIR/renamed-lint-still-applies.rs:4:6
   |
LL | //! [x]
   |      ^ no item named `x` in scope
   |
   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
note: the lint level is defined here
  --> $DIR/renamed-lint-still-applies.rs:2:9
   |
LL | #![deny(broken_intra_doc_links)]
   |         ^^^^^^^^^^^^^^^^^^^^^^

error: this URL is not a hyperlink
  --> $DIR/renamed-lint-still-applies.rs:9:5
   |
LL | //! http://example.com
   |     ^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<http://example.com>`
   |
   = note: bare URLs are not automatically turned into clickable links
note: the lint level is defined here
  --> $DIR/renamed-lint-still-applies.rs:7:9
   |
LL | #![deny(rustdoc::non_autolinks)]
   |         ^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors; 2 warnings emitted