fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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