mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 04:06:55 +01:00
11 lines
289 B
Rust
11 lines
289 B
Rust
// compile-args: --crate-type lib
|
|
#![deny(broken_intra_doc_links)]
|
|
//~^ WARNING renamed to `rustdoc::broken_intra_doc_links`
|
|
//! [x]
|
|
//~^ ERROR unresolved link
|
|
|
|
#![deny(rustdoc::non_autolinks)]
|
|
//~^ WARNING renamed to `rustdoc::bare_urls`
|
|
//! http://example.com
|
|
//~^ ERROR not a hyperlink
|