1error[E0658]: attributes on expressions are experimental 2 --> $DIR/stmt_expr_attributes-feature-gate.rs:24:5 3 | 424 | #[project] //~ ERROR E0658 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 10error[E0658]: attributes on expressions are experimental 11 --> $DIR/stmt_expr_attributes-feature-gate.rs:40:14 12 | 1340 | let () = #[project] //~ ERROR E0658 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 19error[E0658]: custom attributes cannot be applied to expressions 20 --> $DIR/stmt_expr_attributes-feature-gate.rs:24:5 21 | 2224 | #[project] //~ ERROR E0658 23 | ^^^^^^^^^^ 24 | 25 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 26 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 27 28error[E0658]: custom attributes cannot be applied to expressions 29 --> $DIR/stmt_expr_attributes-feature-gate.rs:40:14 30 | 3140 | let () = #[project] //~ ERROR E0658 32 | ^^^^^^^^^^ 33 | 34 = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information 35 = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable 36