fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
1.6 KiB46 linesraw
1error[E0658]: use of unstable library feature 'function'
2  --> $DIR/internal-unstable.rs:33:25
3   |
4LL |     pass_through_allow!(internal_unstable::unstable());
5   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = help: add `#![feature(function)]` to the crate attributes to enable
8
9error[E0658]: use of unstable library feature 'function'
10  --> $DIR/internal-unstable.rs:35:27
11   |
12LL |     pass_through_noallow!(internal_unstable::unstable());
13   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = help: add `#![feature(function)]` to the crate attributes to enable
16
17error[E0658]: use of unstable library feature 'function'
18  --> $DIR/internal-unstable.rs:39:22
19   |
20LL |     println!("{:?}", internal_unstable::unstable());
21   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
22   |
23   = help: add `#![feature(function)]` to the crate attributes to enable
24
25error[E0658]: use of unstable library feature 'function'
26  --> $DIR/internal-unstable.rs:41:10
27   |
28LL |     bar!(internal_unstable::unstable());
29   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30   |
31   = help: add `#![feature(function)]` to the crate attributes to enable
32
33error[E0658]: use of unstable library feature 'function'
34  --> $DIR/internal-unstable.rs:12:9
35   |
36LL |         internal_unstable::unstable();
37   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
38...
39LL |     bar!(internal_unstable::unstable());
40   |     ------------------------------------ in this macro invocation
41   |
42   = help: add `#![feature(function)]` to the crate attributes to enable
43
44error: aborting due to 5 previous errors
45
46For more information about this error, try `rustc --explain E0658`.