fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
3.2 KiB84 linesraw
1error[E0658]: attributes on expressions are experimental
2  --> $DIR/stmt_expr_attrs_no_feature.rs:14:5
3   |
4LL |     #[rustfmt::skip]
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
10error[E0658]: attributes on expressions are experimental
11  --> $DIR/stmt_expr_attrs_no_feature.rs:95:18
12   |
13LL |     fn y(a: [u8; #[rustc_dummy] 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
19error[E0658]: attributes on expressions are experimental
20  --> $DIR/stmt_expr_attrs_no_feature.rs:102:19
21   |
22LL |     const Y: u8 = #[rustc_dummy] 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
28error[E0658]: attributes on expressions are experimental
29  --> $DIR/stmt_expr_attrs_no_feature.rs:108:19
30   |
31LL |     const Y: [u8; #[rustc_dummy] 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
37error[E0658]: attributes on expressions are experimental
38  --> $DIR/stmt_expr_attrs_no_feature.rs:114:18
39   |
40LL |     field2: [u8; #[rustc_dummy] 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
46error[E0658]: attributes on expressions are experimental
47  --> $DIR/stmt_expr_attrs_no_feature.rs:119:10
48   |
49LL |     [u8; #[rustc_dummy] 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
55error[E0658]: attributes on expressions are experimental
56  --> $DIR/stmt_expr_attrs_no_feature.rs:125:14
57   |
58LL |         [u8; #[rustc_dummy] 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
64error[E0658]: attributes on expressions are experimental
65  --> $DIR/stmt_expr_attrs_no_feature.rs:130:22
66   |
67LL |         field2: [u8; #[rustc_dummy] 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
73error[E0658]: attributes on expressions are experimental
74  --> $DIR/stmt_expr_attrs_no_feature.rs:138:14
75   |
76LL |         6 => #[rustc_dummy] (),
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
82error: aborting due to 9 previous errors
83
84For more information about this error, try `rustc --explain E0658`.