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
|