]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stmt_expr_attrs_no_feature.stderr
Merge commit '8d14c94b5c0a66241b4244f1c60ac5859cec1d97' into clippyup
[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:14:5
3    |
4 LL |     #[rustfmt::skip]
5    |     ^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:95:18
12    |
13 LL |     fn y(a: [u8; #[rustc_dummy] 5]);
14    |                  ^^^^^^^^^^^^^^
15    |
16    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:102:19
21    |
22 LL |     const Y: u8 = #[rustc_dummy] 5;
23    |                   ^^^^^^^^^^^^^^
24    |
25    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:108:19
30    |
31 LL |     const Y: [u8; #[rustc_dummy] 5];
32    |                   ^^^^^^^^^^^^^^
33    |
34    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:114:18
39    |
40 LL |     field2: [u8; #[rustc_dummy] 5]
41    |                  ^^^^^^^^^^^^^^
42    |
43    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:119:10
48    |
49 LL |     [u8; #[rustc_dummy] 5]
50    |          ^^^^^^^^^^^^^^
51    |
52    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:125:14
57    |
58 LL |         [u8; #[rustc_dummy] 5]
59    |              ^^^^^^^^^^^^^^
60    |
61    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:130:22
66    |
67 LL |         field2: [u8; #[rustc_dummy] 5]
68    |                      ^^^^^^^^^^^^^^
69    |
70    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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:138:14
75    |
76 LL |         6 => #[rustc_dummy] (),
77    |              ^^^^^^^^^^^^^^
78    |
79    = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
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`.