]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-macros_in_extern.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-macros_in_extern.stderr
1 error[E0658]: macro invocations in `extern {}` blocks are experimental (see issue #49476)
2   --> $DIR/feature-gate-macros_in_extern.rs:29:5
3    |
4 LL |     returns_isize!(rust_get_test_int);
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(macros_in_extern)] to the crate attributes to enable
8
9 error[E0658]: macro invocations in `extern {}` blocks are experimental (see issue #49476)
10   --> $DIR/feature-gate-macros_in_extern.rs:31:5
11    |
12 LL |     takes_u32_returns_u32!(rust_dbg_extern_identity_u32);
13    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14    |
15    = help: add #![feature(macros_in_extern)] to the crate attributes to enable
16
17 error[E0658]: macro invocations in `extern {}` blocks are experimental (see issue #49476)
18   --> $DIR/feature-gate-macros_in_extern.rs:33:5
19    |
20 LL |     emits_nothing!();
21    |     ^^^^^^^^^^^^^^^^^
22    |
23    = help: add #![feature(macros_in_extern)] to the crate attributes to enable
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.