]> git.lizzy.rs Git - rust.git/blob - src/test/ui/malformed/malformed-special-attrs.stderr
Add note to src/ci/docker/README.md about multiple docker images
[rust.git] / src / test / ui / malformed / malformed-special-attrs.stderr
1 error: malformed `cfg_attr` attribute input
2   --> $DIR/malformed-special-attrs.rs:1:1
3    |
4 LL | #[cfg_attr]
5    | ^^^^^^^^^^^ help: missing condition and attribute: `#[cfg_attr(condition, attribute, other_attribute, ...)]`
6    |
7    = note: for more information, visit <https://doc.rust-lang.org/reference/conditional-compilation.html#the-cfg_attr-attribute>
8
9 error: expected `(`, found `=`
10   --> $DIR/malformed-special-attrs.rs:4:12
11    |
12 LL | #[cfg_attr = ""]
13    |            ^ expected `(`
14
15 error: malformed `derive` attribute input
16   --> $DIR/malformed-special-attrs.rs:7:1
17    |
18 LL | #[derive]
19    | ^^^^^^^^^ help: missing traits to be derived: `#[derive(Trait1, Trait2, ...)]`
20
21 error: malformed `derive` attribute input
22   --> $DIR/malformed-special-attrs.rs:10:1
23    |
24 LL | #[derive = ""]
25    | ^^^^^^^^^^^^^^ help: missing traits to be derived: `#[derive(Trait1, Trait2, ...)]`
26
27 error: aborting due to 4 previous errors
28