summaryrefslogtreecommitdiffstats
path: root/src/test/ui/macros/macro-stability.stderr
blob: 2cfdb52b174a90f3dce9ecc667e2f026fda7dc96 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
error[E0658]: use of unstable library feature 'local_unstable'
  --> $DIR/macro-stability.rs:22:5
   |
LL |     local_unstable!();
   |     ^^^^^^^^^^^^^^
   |
   = help: add `#![feature(local_unstable)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'local_unstable'
  --> $DIR/macro-stability.rs:23:5
   |
LL |     local_unstable_modern!();
   |     ^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add `#![feature(local_unstable)]` to the crate attributes to enable

error[E0658]: use of unstable library feature 'unstable_macros'
  --> $DIR/macro-stability.rs:24:5
   |
LL |     unstable_macro!();
   |     ^^^^^^^^^^^^^^
   |
   = help: add `#![feature(unstable_macros)]` to the crate attributes to enable

warning: use of deprecated macro `deprecated_macro`: deprecation note
  --> $DIR/macro-stability.rs:27:5
   |
LL |     deprecated_macro!();
   |     ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated macro `local_deprecated`: local deprecation note
  --> $DIR/macro-stability.rs:29:5
   |
LL |     local_deprecated!();
   |     ^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors; 2 warnings emitted

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