]> git.proxmox.com Git - rustc.git/blame - src/test/ui/internal/internal-unstable-noallow.stderr
New upstream version 1.57.0+dfsg1
[rustc.git] / src / test / ui / internal / internal-unstable-noallow.stderr
CommitLineData
b7449926 1error[E0658]: use of unstable library feature 'function'
0731742a 2 --> $DIR/internal-unstable-noallow.rs:16:5
b7449926
XL
3 |
4LL | call_unstable_noallow!();
c295e0f8 5 | ^^^^^^^^^^^^^^^^^^^^^^^^
b7449926 6 |
416331ca 7 = help: add `#![feature(function)]` to the crate attributes to enable
17df50a5 8 = note: this error originates in the macro `call_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
9
10error[E0658]: use of unstable library feature 'struct_field'
0731742a 11 --> $DIR/internal-unstable-noallow.rs:18:5
b7449926
XL
12 |
13LL | construct_unstable_noallow!(0);
c295e0f8 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
b7449926 15 |
416331ca 16 = help: add `#![feature(struct_field)]` to the crate attributes to enable
17df50a5 17 = note: this error originates in the macro `construct_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
18
19error[E0658]: use of unstable library feature 'method'
0731742a 20 --> $DIR/internal-unstable-noallow.rs:20:35
b7449926
XL
21 |
22LL | |x: internal_unstable::Foo| { call_method_noallow!(x) };
23 | ^^^^^^^^^^^^^^^^^^^^^^^
24 |
416331ca 25 = help: add `#![feature(method)]` to the crate attributes to enable
17df50a5 26 = note: this error originates in the macro `call_method_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
27
28error[E0658]: use of unstable library feature 'struct2_field'
0731742a 29 --> $DIR/internal-unstable-noallow.rs:22:35
b7449926
XL
30 |
31LL | |x: internal_unstable::Bar| { access_field_noallow!(x) };
32 | ^^^^^^^^^^^^^^^^^^^^^^^^
33 |
416331ca 34 = help: add `#![feature(struct2_field)]` to the crate attributes to enable
17df50a5 35 = note: this error originates in the macro `access_field_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
b7449926
XL
36
37error: aborting due to 4 previous errors
38
39For more information about this error, try `rustc --explain E0658`.