2020-08-25 10:02:16 -04:00
|
|
|
#![deny(unknown_lints)]
|
|
|
|
//~^ NOTE lint level is defined
|
|
|
|
#![deny(renamed_and_removed_lints)]
|
|
|
|
//~^ NOTE lint level is defined
|
|
|
|
#![deny(x)]
|
|
|
|
//~^ ERROR unknown lint
|
2020-12-29 23:16:16 -05:00
|
|
|
#![deny(rustdoc::x)]
|
|
|
|
//~^ ERROR unknown lint: `rustdoc::x`
|
2020-08-25 10:02:16 -04:00
|
|
|
#![deny(intra_doc_link_resolution_failure)]
|
2021-01-17 18:52:19 -05:00
|
|
|
//~^ ERROR renamed to `rustdoc::broken_intra_doc_links`
|
2020-12-29 23:16:16 -05:00
|
|
|
|
|
|
|
#![deny(non_autolinks)]
|
2021-03-16 11:59:05 -04:00
|
|
|
// FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the
|
|
|
|
// stable channel.
|
2020-12-29 23:16:16 -05:00
|
|
|
|
2021-03-05 09:50:20 -05:00
|
|
|
#![deny(rustdoc)]
|
|
|
|
//~^ ERROR removed: use `rustdoc::all` instead
|
|
|
|
|
2021-01-17 18:52:19 -05:00
|
|
|
// Explicitly don't try to handle this case, it was never valid
|
2020-12-29 23:16:16 -05:00
|
|
|
#![deny(rustdoc::intra_doc_link_resolution_failure)]
|
|
|
|
//~^ ERROR unknown lint
|