]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-extended_key_value_attributes.stderr
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / ui / feature-gates / feature-gate-extended_key_value_attributes.stderr
1 error[E0658]: arbitrary expressions in key-value attributes are unstable
2   --> $DIR/feature-gate-extended_key_value_attributes.rs:2:10
3    |
4 LL | #[attr = multi::segment::path]
5    |          ^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
8    = help: add `#![feature(extended_key_value_attributes)]` to the crate attributes to enable
9
10 error[E0658]: arbitrary expressions in key-value attributes are unstable
11   --> $DIR/feature-gate-extended_key_value_attributes.rs:3:10
12    |
13 LL | #[attr = macro_call!()]
14    |          ^^^^^^^^^^^^^
15    |
16    = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
17    = help: add `#![feature(extended_key_value_attributes)]` to the crate attributes to enable
18
19 error[E0658]: arbitrary expressions in key-value attributes are unstable
20   --> $DIR/feature-gate-extended_key_value_attributes.rs:4:10
21    |
22 LL | #[attr = 1 + 2]
23    |          ^^^^^
24    |
25    = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
26    = help: add `#![feature(extended_key_value_attributes)]` to the crate attributes to enable
27
28 error[E0658]: arbitrary expressions in key-value attributes are unstable
29   --> $DIR/feature-gate-extended_key_value_attributes.rs:5:10
30    |
31 LL | #[attr = what?]
32    |          ^^^^^
33    |
34    = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
35    = help: add `#![feature(extended_key_value_attributes)]` to the crate attributes to enable
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0658`.