about summary refs log tree commit diff
path: root/tests/ui/issues/issue-32782.stderr
blob: 96cd0489b2a71f948487e633b850e466eee05772 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
  --> $DIR/issue-32782.rs:7:9
   |
LL |         #[allow_internal_unstable()]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | foo!();
   | ------ in this macro invocation
   |
   = help: add `#![feature(allow_internal_unstable)]` to the crate attributes to enable
   = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
   = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)

error: `#[allow_internal_unstable]` attribute cannot be used on macro calls
  --> $DIR/issue-32782.rs:7:9
   |
LL |         #[allow_internal_unstable()]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
LL | foo!();
   | ------ in this macro invocation
   |
   = help: `#[allow_internal_unstable]` can be applied to macro defs and functions
   = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.