1 error[E0658]: attributes on expressions are experimental
2 --> $DIR/stmt_expr_attrs_no_feature.rs:14: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:95:18
13 LL | fn y(a: [u8; #[rustc_dummy] 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:102:19
22 LL | const Y: u8 = #[rustc_dummy] 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:108:19
31 LL | const Y: [u8; #[rustc_dummy] 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:114:18
40 LL | field2: [u8; #[rustc_dummy] 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:119:10
49 LL | [u8; #[rustc_dummy] 5]
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:125:14
58 LL | [u8; #[rustc_dummy] 5]
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:130:22
67 LL | field2: [u8; #[rustc_dummy] 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:138:14
76 LL | 6 => #[rustc_dummy] (),
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`.