summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-ui/lints/unknown-renamed-lints.stderr
blob: bf529b9f8e26327b6add65ba5a79f8d550afade4 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
error: unknown lint: `x`
  --> $DIR/unknown-renamed-lints.rs:5:9
   |
LL | #![deny(x)]
   |         ^
   |
note: the lint level is defined here
  --> $DIR/unknown-renamed-lints.rs:1:9
   |
LL | #![deny(unknown_lints)]
   |         ^^^^^^^^^^^^^

error: unknown lint: `rustdoc::x`
  --> $DIR/unknown-renamed-lints.rs:7:9
   |
LL | #![deny(rustdoc::x)]
   |         ^^^^^^^^^^ help: did you mean: `rustdoc::all`

error: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links`
  --> $DIR/unknown-renamed-lints.rs:9:9
   |
LL | #![deny(intra_doc_link_resolution_failure)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links`
   |
note: the lint level is defined here
  --> $DIR/unknown-renamed-lints.rs:3:9
   |
LL | #![deny(renamed_and_removed_lints)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^

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

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

error: lint `private_doc_tests` has been renamed to `rustdoc::private_doc_tests`
  --> $DIR/unknown-renamed-lints.rs:16:9
   |
LL | #![deny(private_doc_tests)]
   |         ^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::private_doc_tests`

error: lint `rustdoc` has been removed: use `rustdoc::all` instead
  --> $DIR/unknown-renamed-lints.rs:19:9
   |
LL | #![deny(rustdoc)]
   |         ^^^^^^^

error: unknown lint: `rustdoc::intra_doc_link_resolution_failure`
  --> $DIR/unknown-renamed-lints.rs:23:9
   |
LL | #![deny(rustdoc::intra_doc_link_resolution_failure)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 8 previous errors