1 // compile-args: --crate-type lib
2 #![deny(broken_intra_doc_links)]
3 // FIXME: the old names for rustdoc lints should warn by default once `rustdoc::` makes it to the
6 //~^ ERROR unresolved link
8 #![deny(rustdoc::non_autolinks)]
9 //~^ WARNING renamed to `rustdoc::bare_urls`
10 //! http://example.com
11 //~^ ERROR not a hyperlink