fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
1.8 KiB39 linesraw
1error[E0658]: use of unstable library feature 'function'
2  --> $DIR/internal-unstable-noallow.rs:16:5
3   |
4LL |     call_unstable_noallow!();
5   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = help: add `#![feature(function)]` to the crate attributes to enable
8   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
9
10error[E0658]: use of unstable library feature 'struct_field'
11  --> $DIR/internal-unstable-noallow.rs:18:5
12   |
13LL |     construct_unstable_noallow!(0);
14   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15   |
16   = help: add `#![feature(struct_field)]` to the crate attributes to enable
17   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
18
19error[E0658]: use of unstable library feature 'method'
20  --> $DIR/internal-unstable-noallow.rs:20:35
21   |
22LL |     |x: internal_unstable::Foo| { call_method_noallow!(x) };
23   |                                   ^^^^^^^^^^^^^^^^^^^^^^^
24   |
25   = help: add `#![feature(method)]` to the crate attributes to enable
26   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
27
28error[E0658]: use of unstable library feature 'struct2_field'
29  --> $DIR/internal-unstable-noallow.rs:22:35
30   |
31LL |     |x: internal_unstable::Bar| { access_field_noallow!(x) };
32   |                                   ^^^^^^^^^^^^^^^^^^^^^^^^
33   |
34   = help: add `#![feature(struct2_field)]` to the crate attributes to enable
35   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
36
37error: aborting due to 4 previous errors
38
39For more information about this error, try `rustc --explain E0658`.