summary refs log tree commit diff
path: root/src/test/rustdoc-ui/renamed-lint-still-applies.rs
blob: 05a32d3cc310962fb075ecdae376289a53ed9ceb (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-args: --crate-type lib
#![deny(broken_intra_doc_links)]
// FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the
// stable channel.
//! [x]
//~^ ERROR unresolved link

#![deny(rustdoc::non_autolinks)]
//~^ WARNING renamed to `rustdoc::bare_urls`
//! http://example.com
//~^ ERROR not a hyperlink