fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
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 = "reason"]
10   | ~~~~~~~~~~~~~~~~~~~~~~~~
11LL | #[deprecated(/*opt*/ since = "version", /*opt*/ note = "reason")]
12   | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13LL | #[deprecated]
14   | ~~~~~~~~~~~~~
15
16error: aborting due to previous error
17