fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.4 KiB42 linesraw
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
9warning: lint `rustdoc::non_autolinks` has been renamed to `rustdoc::bare_urls`
10  --> $DIR/renamed-lint-still-applies.rs:7:9
11   |
12LL | #![deny(rustdoc::non_autolinks)]
13   |         ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::bare_urls`
14
15error: unresolved link to `x`
16  --> $DIR/renamed-lint-still-applies.rs:4:6
17   |
18LL | //! [x]
19   |      ^ no item named `x` in scope
20   |
21   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
22note: the lint level is defined here
23  --> $DIR/renamed-lint-still-applies.rs:2:9
24   |
25LL | #![deny(broken_intra_doc_links)]
26   |         ^^^^^^^^^^^^^^^^^^^^^^
27
28error: this URL is not a hyperlink
29  --> $DIR/renamed-lint-still-applies.rs:9:5
30   |
31LL | //! 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
35note: the lint level is defined here
36  --> $DIR/renamed-lint-still-applies.rs:7:9
37   |
38LL | #![deny(rustdoc::non_autolinks)]
39   |         ^^^^^^^^^^^^^^^^^^^^^^
40
41error: aborting due to 2 previous errors; 2 warnings emitted
42