fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
1.3 KiB44 linesraw
1error: malformed `cfg_accessible` attribute input
2  --> $DIR/cfg_accessible-input-validation.rs:3:1
3   |
4LL | #[cfg_accessible]
5   | ^^^^^^^^^^^^^^^^^ help: must be of the form: `#[cfg_accessible(path)]`
6
7error: malformed `cfg_accessible` attribute input
8  --> $DIR/cfg_accessible-input-validation.rs:6:1
9   |
10LL | #[cfg_accessible = "value"]
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: must be of the form: `#[cfg_accessible(path)]`
12
13error: `cfg_accessible` path is not specified
14  --> $DIR/cfg_accessible-input-validation.rs:9:1
15   |
16LL | #[cfg_accessible()]
17   | ^^^^^^^^^^^^^^^^^^^
18
19error: multiple `cfg_accessible` paths are specified
20  --> $DIR/cfg_accessible-input-validation.rs:12:23
21   |
22LL | #[cfg_accessible(std, core)]
23   |                       ^^^^
24
25error: `cfg_accessible` path cannot be a literal
26  --> $DIR/cfg_accessible-input-validation.rs:15:18
27   |
28LL | #[cfg_accessible("std")]
29   |                  ^^^^^
30
31error: `cfg_accessible` path cannot accept arguments
32  --> $DIR/cfg_accessible-input-validation.rs:18:18
33   |
34LL | #[cfg_accessible(std = "value")]
35   |                  ^^^^^^^^^^^^^
36
37error: `cfg_accessible` path cannot accept arguments
38  --> $DIR/cfg_accessible-input-validation.rs:21:18
39   |
40LL | #[cfg_accessible(std(value))]
41   |                  ^^^^^^^^^^
42
43error: aborting due to 7 previous errors
44