summary refs log tree commit diff
path: root/src/test/ui/macros/macro-stability.stderr
blob: 34b62b4b1c3fdf051a0571568960f9b8ed38de51 (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:19: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:20: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:21:5
   |
LL |     unstable_macro!();
   |     ^^^^^^^^^^^^^^
   |
   = help: add `#![feature(unstable_macros)]` to the crate attributes to enable

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

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

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

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