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

47 lines
1.6 KiB
Plaintext
Raw Normal View History

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