]> git.lizzy.rs Git - rust.git/blob - src/test/ui/proc-macro/attribute-after-derive-feature-gate.stderr
Rollup merge of #86478 - ehuss:future-incompat-test, r=oli-obk
[rust.git] / src / test / ui / proc-macro / attribute-after-derive-feature-gate.stderr
1 error[E0658]: macro attributes in `#[derive]` output are unstable
2   --> $DIR/attribute-after-derive-feature-gate.rs:11:3
3    |
4 LL | #[empty_attr]
5    |   ^^^^^^^^^^
6    |
7    = note: see issue #81119 <https://github.com/rust-lang/rust/issues/81119> for more information
8    = help: add `#![feature(macro_attributes_in_derive_output)]` to the crate attributes to enable
9
10 error[E0658]: macro attributes in `#[derive]` output are unstable
11   --> $DIR/attribute-after-derive-feature-gate.rs:18:3
12    |
13 LL | #[empty_attr]
14    |   ^^^^^^^^^^
15    |
16    = note: see issue #81119 <https://github.com/rust-lang/rust/issues/81119> for more information
17    = help: add `#![feature(macro_attributes_in_derive_output)]` to the crate attributes to enable
18
19 error[E0658]: macro attributes in `#[derive]` output are unstable
20   --> $DIR/attribute-after-derive-feature-gate.rs:25:19
21    |
22 LL |     field: [u8; #[identity_attr] 10],
23    |                   ^^^^^^^^^^^^^
24    |
25    = note: see issue #81119 <https://github.com/rust-lang/rust/issues/81119> for more information
26    = help: add `#![feature(macro_attributes_in_derive_output)]` to the crate attributes to enable
27
28 error: aborting due to 3 previous errors
29
30 For more information about this error, try `rustc --explain E0658`.