]> git.proxmox.com Git - rustc.git/blame - src/test/ui/stmt_expr_attrs_no_feature.stderr
New upstream version 1.37.0+dfsg1
[rustc.git] / src / test / ui / stmt_expr_attrs_no_feature.stderr
CommitLineData
48663c56 1error[E0658]: attributes on expressions are experimental
dc9dc135 2 --> $DIR/stmt_expr_attrs_no_feature.rs:14:5
b7449926 3 |
dc9dc135
XL
4LL | #[rustfmt::skip]
5 | ^^^^^^^^^^^^^^^^
b7449926 6 |
48663c56 7 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
8 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
9
48663c56 10error[E0658]: attributes on expressions are experimental
dc9dc135 11 --> $DIR/stmt_expr_attrs_no_feature.rs:95:18
b7449926 12 |
dc9dc135
XL
13LL | fn y(a: [u8; #[rustc_dummy] 5]);
14 | ^^^^^^^^^^^^^^
b7449926 15 |
48663c56 16 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
17 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
18
48663c56 19error[E0658]: attributes on expressions are experimental
dc9dc135 20 --> $DIR/stmt_expr_attrs_no_feature.rs:102:19
b7449926 21 |
dc9dc135
XL
22LL | const Y: u8 = #[rustc_dummy] 5;
23 | ^^^^^^^^^^^^^^
b7449926 24 |
48663c56 25 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
26 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
27
48663c56 28error[E0658]: attributes on expressions are experimental
dc9dc135 29 --> $DIR/stmt_expr_attrs_no_feature.rs:108:19
b7449926 30 |
dc9dc135
XL
31LL | const Y: [u8; #[rustc_dummy] 5];
32 | ^^^^^^^^^^^^^^
b7449926 33 |
48663c56 34 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
35 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
36
48663c56 37error[E0658]: attributes on expressions are experimental
dc9dc135 38 --> $DIR/stmt_expr_attrs_no_feature.rs:114:18
b7449926 39 |
dc9dc135
XL
40LL | field2: [u8; #[rustc_dummy] 5]
41 | ^^^^^^^^^^^^^^
b7449926 42 |
48663c56 43 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
44 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
45
48663c56 46error[E0658]: attributes on expressions are experimental
dc9dc135 47 --> $DIR/stmt_expr_attrs_no_feature.rs:119:10
b7449926 48 |
dc9dc135
XL
49LL | [u8; #[rustc_dummy] 5]
50 | ^^^^^^^^^^^^^^
b7449926 51 |
48663c56 52 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
53 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
54
48663c56 55error[E0658]: attributes on expressions are experimental
dc9dc135 56 --> $DIR/stmt_expr_attrs_no_feature.rs:125:14
b7449926 57 |
dc9dc135
XL
58LL | [u8; #[rustc_dummy] 5]
59 | ^^^^^^^^^^^^^^
b7449926 60 |
48663c56 61 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
62 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
63
48663c56 64error[E0658]: attributes on expressions are experimental
dc9dc135 65 --> $DIR/stmt_expr_attrs_no_feature.rs:130:22
b7449926 66 |
dc9dc135
XL
67LL | field2: [u8; #[rustc_dummy] 5]
68 | ^^^^^^^^^^^^^^
b7449926 69 |
48663c56 70 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
71 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
72
48663c56 73error[E0658]: attributes on expressions are experimental
dc9dc135 74 --> $DIR/stmt_expr_attrs_no_feature.rs:138:14
b7449926 75 |
dc9dc135
XL
76LL | 6 => #[rustc_dummy] (),
77 | ^^^^^^^^^^^^^^
b7449926 78 |
48663c56 79 = note: for more information, see https://github.com/rust-lang/rust/issues/15701
b7449926
XL
80 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
81
82error: aborting due to 9 previous errors
83
84For more information about this error, try `rustc --explain E0658`.