mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
8 lines
237 B
Rust
8 lines
237 B
Rust
![]() |
#![deny(warnings)]
|
||
|
|
||
|
#![doc(test(""))]
|
||
|
//~^ ERROR `#![doc(test(...)]` does not take a literal
|
||
|
//~^^ WARN this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
||
|
|
||
|
fn main() {}
|