mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
6 lines
179 B
Rust
6 lines
179 B
Rust
//@ check-pass
|
|
//@ compile-flags: --crate-type lib
|
|
#![deny(rustdoc)]
|
|
//~^ WARNING removed: use `rustdoc::all`
|
|
#![deny(rustdoc::all)] // has no effect when run with rustc directly
|