fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
478 B16 linesraw
1error: malformed `deprecated` attribute input
2  --> $DIR/invalid-literal.rs:1:1
3   |
4LL | #[deprecated = b"test"]
5   | ^^^^^^^^^^^^^^^^^^^^^^^
6help: the following are the possible correct uses
7   |
8LL | #[deprecated]
9   | ^^^^^^^^^^^^^
10LL | #[deprecated(/*opt*/ since = "version", /*opt*/ note = "reason")]
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12LL | #[deprecated = "reason"]
13   | ^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16