rust/src/test/ui/internal/internal-unstable-noallow.stderr

40 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0658]: use of unstable library feature 'function'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable-noallow.rs:16:5
2018-08-08 07:28:26 -05:00
|
LL | call_unstable_noallow!();
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(function)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'struct_field'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable-noallow.rs:18:5
2018-08-08 07:28:26 -05:00
|
LL | construct_unstable_noallow!(0);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(struct_field)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'method'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable-noallow.rs:20:35
2018-08-08 07:28:26 -05:00
|
LL | |x: internal_unstable::Foo| { call_method_noallow!(x) };
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(method)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'struct2_field'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable-noallow.rs:22:35
2018-08-08 07:28:26 -05:00
|
LL | |x: internal_unstable::Bar| { access_field_noallow!(x) };
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(struct2_field)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0658`.