2021-02-28 00:49:15 -05:00
|
|
|
// compile-args: --crate-type lib
|
|
|
|
#![deny(broken_intra_doc_links)]
|
2021-07-03 15:20:29 -04:00
|
|
|
//~^ WARNING renamed to `rustdoc::broken_intra_doc_links`
|
2021-02-28 00:49:15 -05:00
|
|
|
//! [x]
|
|
|
|
//~^ ERROR unresolved link
|
2021-03-28 00:25:07 -04:00
|
|
|
|
|
|
|
#![deny(rustdoc::non_autolinks)]
|
|
|
|
//~^ WARNING renamed to `rustdoc::bare_urls`
|
|
|
|
//! http://example.com
|
|
|
|
//~^ ERROR not a hyperlink
|