about summary refs log tree commit diff
path: root/tests/ui/deprecation/invalid-literal.stderr
blob: 6f25aebc315eeae6b776aff3fd659858aca12593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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`.