fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
475 B15 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: malformed `deny` attribute input
8  --> $DIR/lint-malformed.rs:1:1
9   |
10LL | #![deny = "foo"]
11   | ^^^^^^^^^^^^^^^^ help: must be of the form: `#[deny(lint1, lint2, ..., /*opt*/ reason = "...")]`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0452`.