]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/rustdoc-renamed.rs
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / rustdoc-renamed.rs
1 #![crate_type = "lib"]
2
3 #![deny(unknown_lints)]
4 #![deny(renamed_and_removed_lints)]
5 //~^ NOTE lint level is defined
6
7 // both allowed, since the compiler doesn't yet know what rustdoc lints are valid
8 #![deny(rustdoc::x)]
9 #![deny(rustdoc::intra_doc_link_resolution_failure)]
10
11 #![deny(intra_doc_link_resolution_failure)]
12 //~^ ERROR removed: use `rustdoc::broken_intra_doc_links`
13 #![deny(non_autolinks)]
14 // FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the
15 // stable channel.