1 error[E0658]: attributes on expressions are experimental. (see issue #15701)
2 --> $DIR/stmt_expr_attrs_no_feature.rs:23:5
4 LL | #[attr] //~ ERROR attributes on expressions are experimental
7 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
9 error[E0658]: attributes on expressions are experimental. (see issue #15701)
10 --> $DIR/stmt_expr_attrs_no_feature.rs:104:18
12 LL | fn y(a: [u8; #[attr] 5]); //~ ERROR 15701
15 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
17 error[E0658]: attributes on expressions are experimental. (see issue #15701)
18 --> $DIR/stmt_expr_attrs_no_feature.rs:111:19
20 LL | const Y: u8 = #[attr] 5; //~ ERROR 15701
23 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
25 error[E0658]: attributes on expressions are experimental. (see issue #15701)
26 --> $DIR/stmt_expr_attrs_no_feature.rs:117:19
28 LL | const Y: [u8; #[attr] 5]; //~ ERROR 15701
31 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
33 error[E0658]: attributes on expressions are experimental. (see issue #15701)
34 --> $DIR/stmt_expr_attrs_no_feature.rs:123:18
36 LL | field2: [u8; #[attr] 5] //~ ERROR 15701
39 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
41 error[E0658]: attributes on expressions are experimental. (see issue #15701)
42 --> $DIR/stmt_expr_attrs_no_feature.rs:128:10
44 LL | [u8; #[attr] 5] //~ ERROR 15701
47 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
49 error[E0658]: attributes on expressions are experimental. (see issue #15701)
50 --> $DIR/stmt_expr_attrs_no_feature.rs:134:14
52 LL | [u8; #[attr] 5] //~ ERROR 15701
55 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
57 error[E0658]: attributes on expressions are experimental. (see issue #15701)
58 --> $DIR/stmt_expr_attrs_no_feature.rs:139:22
60 LL | field2: [u8; #[attr] 5] //~ ERROR 15701
63 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
65 error[E0658]: attributes on expressions are experimental. (see issue #15701)
66 --> $DIR/stmt_expr_attrs_no_feature.rs:147:14
68 LL | 6 => #[attr] (), //~ ERROR 15701
71 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
73 error: aborting due to 9 previous errors
75 For more information about this error, try `rustc --explain E0658`.