]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/rustdoc-renamed.rs
3 #![deny(unknown_lints)]
4 #![deny(renamed_and_removed_lints)]
5 //~^ NOTE lint level is defined
7 // both allowed, since the compiler doesn't yet know what rustdoc lints are valid
9 #![deny(rustdoc::intra_doc_link_resolution_failure)]
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