1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/stmt_expr_attrs_no_feature.rs:13:5
7 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
8 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
10 error[E0658]: attributes on expressions are experimental
11 --> $DIR/stmt_expr_attrs_no_feature.rs:94:18
13 LL | fn y(a: [u8; #[attr] 5]);
16 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
17 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
19 error[E0658]: attributes on expressions are experimental
20 --> $DIR/stmt_expr_attrs_no_feature.rs:101:19
22 LL | const Y: u8 = #[attr] 5;
25 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
26 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
28 error[E0658]: attributes on expressions are experimental
29 --> $DIR/stmt_expr_attrs_no_feature.rs:107:19
31 LL | const Y: [u8; #[attr] 5];
34 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
35 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
37 error[E0658]: attributes on expressions are experimental
38 --> $DIR/stmt_expr_attrs_no_feature.rs:113:18
40 LL | field2: [u8; #[attr] 5]
43 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
44 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
46 error[E0658]: attributes on expressions are experimental
47 --> $DIR/stmt_expr_attrs_no_feature.rs:118:10
52 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
53 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
55 error[E0658]: attributes on expressions are experimental
56 --> $DIR/stmt_expr_attrs_no_feature.rs:124:14
61 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
62 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
64 error[E0658]: attributes on expressions are experimental
65 --> $DIR/stmt_expr_attrs_no_feature.rs:129:22
67 LL | field2: [u8; #[attr] 5]
70 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
71 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
73 error[E0658]: attributes on expressions are experimental
74 --> $DIR/stmt_expr_attrs_no_feature.rs:137:14
79 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
80 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
82 error: aborting due to 9 previous errors
84 For more information about this error, try `rustc --explain E0658`.