rust/tests/ui/deprecation/invalid-literal.stderr
2025-06-17 23:22:51 +02:00

14 lines
413 B
Plaintext

error[E0539]: malformed `deprecated` attribute input
--> $DIR/invalid-literal.rs:1:1
|
LL | #[deprecated = b"test"]
| ^^^^^^^^^^^^^^^-^^^^^^^
| |
| help: consider removing the prefix
|
= note: expected a normal string literal, not a byte string literal
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0539`.