rust/tests/ui/internal/internal-unstable-noallow.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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!();
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
= help: add `#![feature(function)]` to the crate attributes to enable
= note: this error originates in the macro `call_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
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);
2021-10-14 13:28:28 -05:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2018-08-08 07:28:26 -05:00
|
= help: add `#![feature(struct_field)]` to the crate attributes to enable
= note: this error originates in the macro `construct_unstable_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
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 the macro `call_method_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
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 the macro `access_field_noallow` (in Nightly builds, run with -Z macro-backtrace for more info)
2018-08-08 07:28:26 -05:00
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0658`.