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

47 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.rs:33:25
2018-08-08 07:28:26 -05:00
|
LL | pass_through_allow!(internal_unstable::unstable()); //~ ERROR use of unstable
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(function)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'function'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable.rs:35:27
2018-08-08 07:28:26 -05:00
|
LL | pass_through_noallow!(internal_unstable::unstable()); //~ ERROR use of unstable
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(function)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'function'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable.rs:39:22
2018-08-08 07:28:26 -05:00
|
LL | println!("{:?}", internal_unstable::unstable()); //~ ERROR use of unstable
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(function)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'function'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable.rs:41:10
2018-08-08 07:28:26 -05:00
|
LL | bar!(internal_unstable::unstable()); //~ ERROR use of unstable
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(function)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'function'
2018-12-25 09:56:47 -06:00
--> $DIR/internal-unstable.rs:12:9
2018-08-08 07:28:26 -05:00
|
LL | internal_unstable::unstable(); //~ ERROR use of unstable
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | bar!(internal_unstable::unstable()); //~ ERROR use of unstable
| ------------------------------------ in this macro invocation
|
= help: add #![feature(function)] to the crate attributes to enable
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0658`.