]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0658]: attributes on expressions are experimental |
0731742a XL |
2 | --> $DIR/attr-stmt-expr.rs:10:5 |
3 | | | |
4 | LL | #[expect_print_expr] | |
5 | | ^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
74b04a01 | 7 | = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information |
416331ca | 8 | = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable |
0731742a | 9 | |
48663c56 | 10 | error[E0658]: attributes on expressions are experimental |
0731742a XL |
11 | --> $DIR/attr-stmt-expr.rs:23:5 |
12 | | | |
13 | LL | #[expect_expr] | |
14 | | ^^^^^^^^^^^^^^ | |
15 | | | |
74b04a01 | 16 | = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information |
416331ca | 17 | = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable |
0731742a XL |
18 | |
19 | error: aborting due to 2 previous errors | |
20 | ||
21 | For more information about this error, try `rustc --explain E0658`. |