rust/tests/ui/deprecation/invalid-literal.rs
2023-01-11 09:32:08 +00:00

5 lines
93 B
Rust

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