rustc/tests/ui/deprecation/invalid-literal.rs
2023-08-02 10:33:26 +02:00

5 lines
93 B
Rust

#[deprecated = b"test"] //~ ERROR malformed `deprecated` attribute
fn foo() {}
fn main() {}