aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unstable-features/stmt_expr_attributes-feature-gate.stderr
blob: 3c0501ae01bafe71dcc44c70e834f6591294b6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
error[E0658]: attributes on expressions are experimental
  --> $DIR/stmt_expr_attributes-feature-gate.rs:24:5
   |
24 |     #[project] //~ ERROR E0658
   |     ^^^^^^^^^^
   |
   = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
   = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable

error[E0658]: attributes on expressions are experimental
  --> $DIR/stmt_expr_attributes-feature-gate.rs:40:14
   |
40 |     let () = #[project] //~ ERROR E0658
   |              ^^^^^^^^^^
   |
   = note: see issue #15701 <https://github.com/rust-lang/rust/issues/15701> for more information
   = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable

error[E0658]: custom attributes cannot be applied to expressions
  --> $DIR/stmt_expr_attributes-feature-gate.rs:24:5
   |
24 |     #[project] //~ ERROR E0658
   |     ^^^^^^^^^^
   |
   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable

error[E0658]: custom attributes cannot be applied to expressions
  --> $DIR/stmt_expr_attributes-feature-gate.rs:40:14
   |
40 |     let () = #[project] //~ ERROR E0658
   |              ^^^^^^^^^^
   |
   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
   = help: add `#![feature(proc_macro_hygiene)]` to the crate attributes to enable