]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stmt_expr_attrs_no_feature.stderr
Auto merge of #60072 - RalfJung:linked-list, r=shepmaster
[rust.git] / src / test / ui / stmt_expr_attrs_no_feature.stderr
1 error[E0658]: attributes on expressions are experimental
2   --> $DIR/stmt_expr_attrs_no_feature.rs:13:5
3    |
4 LL |     #[attr]
5    |     ^^^^^^^
6    |
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
9
10 error[E0658]: attributes on expressions are experimental
11   --> $DIR/stmt_expr_attrs_no_feature.rs:94:18
12    |
13 LL |     fn y(a: [u8; #[attr] 5]);
14    |                  ^^^^^^^
15    |
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
18
19 error[E0658]: attributes on expressions are experimental
20   --> $DIR/stmt_expr_attrs_no_feature.rs:101:19
21    |
22 LL |     const Y: u8 = #[attr] 5;
23    |                   ^^^^^^^
24    |
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
27
28 error[E0658]: attributes on expressions are experimental
29   --> $DIR/stmt_expr_attrs_no_feature.rs:107:19
30    |
31 LL |     const Y: [u8; #[attr] 5];
32    |                   ^^^^^^^
33    |
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
36
37 error[E0658]: attributes on expressions are experimental
38   --> $DIR/stmt_expr_attrs_no_feature.rs:113:18
39    |
40 LL |     field2: [u8; #[attr] 5]
41    |                  ^^^^^^^
42    |
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
45
46 error[E0658]: attributes on expressions are experimental
47   --> $DIR/stmt_expr_attrs_no_feature.rs:118:10
48    |
49 LL |     [u8; #[attr] 5]
50    |          ^^^^^^^
51    |
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
54
55 error[E0658]: attributes on expressions are experimental
56   --> $DIR/stmt_expr_attrs_no_feature.rs:124:14
57    |
58 LL |         [u8; #[attr] 5]
59    |              ^^^^^^^
60    |
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
63
64 error[E0658]: attributes on expressions are experimental
65   --> $DIR/stmt_expr_attrs_no_feature.rs:129:22
66    |
67 LL |         field2: [u8; #[attr] 5]
68    |                      ^^^^^^^
69    |
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
72
73 error[E0658]: attributes on expressions are experimental
74   --> $DIR/stmt_expr_attrs_no_feature.rs:137:14
75    |
76 LL |         6 => #[attr] (),
77    |              ^^^^^^^
78    |
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
81
82 error: aborting due to 9 previous errors
83
84 For more information about this error, try `rustc --explain E0658`.