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/macros-in-extern.rs:14:5
3   |
4LL |     #[empty_attr]
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/macros-in-extern.rs:18:5
12   |
13LL |     #[identity_attr]
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/macros-in-extern.rs:22:5
21   |
22LL |     identity!(fn rust_dbg_extern_identity_u32(arg: u32) -> u32;);
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`.