fork/rust

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

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

master
962 B33 linesraw
1error[E0452]: malformed lint attribute input
2  --> $DIR/lint-malformed.rs:2:10
3   |
4LL | #![allow(bar = "baz")]
5   |          ^^^^^^^^^^^ bad attribute argument
6
7error[E0452]: malformed lint attribute input
8  --> $DIR/lint-malformed.rs:2:10
9   |
10LL | #![allow(bar = "baz")]
11   |          ^^^^^^^^^^^ bad attribute argument
12
13error: malformed `deny` attribute input
14  --> $DIR/lint-malformed.rs:1:1
15   |
16LL | #![deny = "foo"]
17   | ^^^^^^^^^^^^^^^^ help: must be of the form: `#![deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
18
19error[E0452]: malformed lint attribute input
20  --> $DIR/lint-malformed.rs:2:10
21   |
22LL | #![allow(bar = "baz")]
23   |          ^^^^^^^^^^^ bad attribute argument
24
25error[E0452]: malformed lint attribute input
26  --> $DIR/lint-malformed.rs:2:10
27   |
28LL | #![allow(bar = "baz")]
29   |          ^^^^^^^^^^^ bad attribute argument
30
31error: aborting due to 5 previous errors
32
33For more information about this error, try `rustc --explain E0452`.