]>
Commit | Line | Data |
---|---|---|
1b1a35ee XL |
1 | #![deny(unknown_lints)] |
2 | //~^ NOTE lint level is defined | |
3 | #![deny(renamed_and_removed_lints)] | |
4 | //~^ NOTE lint level is defined | |
5 | #![deny(x)] | |
6 | //~^ ERROR unknown lint | |
6a06907d XL |
7 | #![deny(rustdoc::x)] |
8 | //~^ ERROR unknown lint: `rustdoc::x` | |
1b1a35ee | 9 | #![deny(intra_doc_link_resolution_failure)] |
6a06907d XL |
10 | //~^ ERROR renamed to `rustdoc::broken_intra_doc_links` |
11 | ||
12 | #![deny(non_autolinks)] | |
13 | // FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the | |
14 | // stable channel. | |
15 | ||
16 | #![deny(rustdoc)] | |
17 | //~^ ERROR removed: use `rustdoc::all` instead | |
18 | ||
19 | // Explicitly don't try to handle this case, it was never valid | |
20 | #![deny(rustdoc::intra_doc_link_resolution_failure)] | |
21 | //~^ ERROR unknown lint |