]> git.proxmox.com Git - rustc.git/blob - src/test/ui/internal/internal-unstable.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / internal / internal-unstable.stderr
1 error[E0658]: use of unstable library feature 'function'
2 --> $DIR/internal-unstable.rs:41:25
3 |
4 LL | pass_through_allow!(internal_unstable::unstable());
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = help: add `#![feature(function)]` to the crate attributes to enable
8
9 error[E0658]: use of unstable library feature 'function'
10 --> $DIR/internal-unstable.rs:43:27
11 |
12 LL | pass_through_noallow!(internal_unstable::unstable());
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
14 |
15 = help: add `#![feature(function)]` to the crate attributes to enable
16
17 error[E0658]: use of unstable library feature 'function'
18 --> $DIR/internal-unstable.rs:47:22
19 |
20 LL | println!("{:?}", internal_unstable::unstable());
21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 |
23 = help: add `#![feature(function)]` to the crate attributes to enable
24
25 error[E0658]: use of unstable library feature 'function'
26 --> $DIR/internal-unstable.rs:49:10
27 |
28 LL | bar!(internal_unstable::unstable());
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
30 |
31 = help: add `#![feature(function)]` to the crate attributes to enable
32
33 error[E0658]: use of unstable library feature 'function'
34 --> $DIR/internal-unstable.rs:19:9
35 |
36 LL | internal_unstable::unstable();
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
38 ...
39 LL | bar!(internal_unstable::unstable());
40 | ------------------------------------ in this macro invocation
41 |
42 = help: add `#![feature(function)]` to the crate attributes to enable
43 = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
44
45 error: aborting due to 5 previous errors
46
47 For more information about this error, try `rustc --explain E0658`.