]> git.lizzy.rs Git - rust.git/blob - src/test/ui/internal/internal-unstable-noallow.stderr
Auto merge of #106143 - matthiaskrgr:rollup-3kpy1dc, r=matthiaskrgr
[rust.git] / src / test / ui / internal / internal-unstable-noallow.stderr
1 error[E0658]: use of unstable library feature 'function'
2   --> $DIR/internal-unstable-noallow.rs:16:5
3    |
4 LL |     call_unstable_noallow!();
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(function)]` to the crate attributes to enable
8    = note: this error originates in the macro `call_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
9
10 error[E0658]: use of unstable library feature 'struct_field'
11   --> $DIR/internal-unstable-noallow.rs:18:5
12    |
13 LL |     construct_unstable_noallow!(0);
14    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = help: add `#![feature(struct_field)]` to the crate attributes to enable
17    = note: this error originates in the macro `construct_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
18
19 error[E0658]: use of unstable library feature 'method'
20   --> $DIR/internal-unstable-noallow.rs:20:35
21    |
22 LL |     |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 the macro `call_method_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
27
28 error[E0658]: use of unstable library feature 'struct2_field'
29   --> $DIR/internal-unstable-noallow.rs:22:35
30    |
31 LL |     |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 the macro `access_field_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0658`.