2020-08-25 09:02:16 -05: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 22:16:16 -06:00
|
|
|
#![deny(rustdoc::x)]
|
|
|
|
//~^ ERROR unknown lint: `rustdoc::x`
|
2020-08-25 09:02:16 -05:00
|
|
|
#![deny(intra_doc_link_resolution_failure)]
|
2021-01-17 17:52:19 -06:00
|
|
|
//~^ ERROR renamed to `rustdoc::broken_intra_doc_links`
|
2020-12-29 22:16:16 -06:00
|
|
|
#![deny(non_autolinks)]
|
2021-03-27 22:35:02 -05:00
|
|
|
//~^ ERROR renamed to `rustdoc::bare_urls`
|
|
|
|
#![deny(rustdoc::non_autolinks)]
|
|
|
|
//~^ ERROR renamed to `rustdoc::bare_urls`
|
|
|
|
|
|
|
|
#![deny(private_doc_tests)]
|
2021-07-03 14:20:29 -05:00
|
|
|
//~^ ERROR renamed to `rustdoc::private_doc_tests`
|
2020-12-29 22:16:16 -06:00
|
|
|
|
2021-03-05 08:50:20 -06:00
|
|
|
#![deny(rustdoc)]
|
|
|
|
//~^ ERROR removed: use `rustdoc::all` instead
|
|
|
|
|
2021-01-17 17:52:19 -06:00
|
|
|
// Explicitly don't try to handle this case, it was never valid
|
2020-12-29 22:16:16 -06:00
|
|
|
#![deny(rustdoc::intra_doc_link_resolution_failure)]
|
|
|
|
//~^ ERROR unknown lint
|