rust/tests/ui/attributes/doc-test-literal.rs
2024-02-29 14:43:43 +01:00

5 lines
87 B
Rust

#![doc(test(""))]
//~^ ERROR `#![doc(test(...)]` does not take a literal
fn main() {}