]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/attr-stmt-expr.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / proc-macro / attr-stmt-expr.stderr
CommitLineData
48663c56 1error[E0658]: attributes on expressions are experimental
0731742a
XL
2 --> $DIR/attr-stmt-expr.rs:10:5
3 |
4LL | #[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 10error[E0658]: attributes on expressions are experimental
0731742a
XL
11 --> $DIR/attr-stmt-expr.rs:23:5
12 |
13LL | #[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
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0658`.