os-rust/tests/ui/error-codes/E0565-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
375 B
Text
Raw Normal View History

error[E0565]: literal in `deprecated` value must be a string
2018-12-25 08:56:47 -07:00
--> $DIR/E0565-2.rs:2:22
2018-10-09 22:55:07 +08:00
|
2019-03-09 15:03:44 +03:00
LL | #[deprecated(since = b"1.29", note = "hi")]
2022-08-27 02:23:21 +09:00
| -^^^^^^
| |
| help: consider removing the prefix
2018-10-09 22:55:07 +08:00
error: aborting due to 1 previous error
2018-10-09 22:55:07 +08:00
For more information about this error, try `rustc --explain E0565`.