]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gate-stmt_expr_attributes.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / feature-gate-stmt_expr_attributes.stderr
1 error: attributes on non-item statements and expressions are experimental. (see issue #15701)
2 --> $DIR/feature-gate-stmt_expr_attributes.rs:11:16
3 |
4 11 | const X: i32 = #[allow(dead_code)] 8;
5 | ^^^^^^^^^^^^^^^^^^^
6 |
7 = help: add #![feature(stmt_expr_attributes)] to the crate attributes to enable
8
9 error: aborting due to previous error
10