fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
1.2 KiB30 linesraw
1error[E0658]: macro invocations in `extern {}` blocks are experimental
2  --> $DIR/feature-gate-macros_in_extern.rs:19:5
3   |
4LL |     returns_isize!(rust_get_test_int);
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/49476
8   = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable
9
10error[E0658]: macro invocations in `extern {}` blocks are experimental
11  --> $DIR/feature-gate-macros_in_extern.rs:21:5
12   |
13LL |     takes_u32_returns_u32!(rust_dbg_extern_identity_u32);
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/49476
17   = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable
18
19error[E0658]: macro invocations in `extern {}` blocks are experimental
20  --> $DIR/feature-gate-macros_in_extern.rs:23:5
21   |
22LL |     emits_nothing!();
23   |     ^^^^^^^^^^^^^^^^^
24   |
25   = note: for more information, see https://github.com/rust-lang/rust/issues/49476
26   = help: add `#![feature(macros_in_extern)]` to the crate attributes to enable
27
28error: aborting due to 3 previous errors
29
30For more information about this error, try `rustc --explain E0658`.