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