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