]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/trace_faulty_macros.stderr
Fix test
[rust.git] / src / test / ui / macros / trace_faulty_macros.stderr
1 error: no rules expected the token `bcd`
2   --> $DIR/trace_faulty_macros.rs:17:26
3    |
4 17 |         my_faulty_macro!(bcd);
5    |                          ^^^
6 ...
7 43 |     my_faulty_macro!();
8    |     ------------------- in this macro invocation
9
10 note: trace_macro
11   --> $DIR/trace_faulty_macros.rs:43:5
12    |
13 43 |     my_faulty_macro!();
14    |     ^^^^^^^^^^^^^^^^^^^
15    |
16    = note: expanding `my_faulty_macro! {  }`
17    = note: to `my_faulty_macro ! ( bcd ) ;`
18    = note: expanding `my_faulty_macro! { bcd }`
19
20 error: recursion limit reached while expanding the macro `my_recursive_macro`
21   --> $DIR/trace_faulty_macros.rs:32:9
22    |
23 32 |         my_recursive_macro!();
24    |         ^^^^^^^^^^^^^^^^^^^^^^
25 ...
26 44 |     my_recursive_macro!();
27    |     ---------------------- in this macro invocation
28    |
29    = help: consider adding a `#![recursion_limit="8"]` attribute to your crate
30
31 note: trace_macro
32   --> $DIR/trace_faulty_macros.rs:44:5
33    |
34 44 |     my_recursive_macro!();
35    |     ^^^^^^^^^^^^^^^^^^^^^^
36    |
37    = note: expanding `my_recursive_macro! {  }`
38    = note: to `my_recursive_macro ! (  ) ;`
39    = note: expanding `my_recursive_macro! {  }`
40    = note: to `my_recursive_macro ! (  ) ;`
41    = note: expanding `my_recursive_macro! {  }`
42    = note: to `my_recursive_macro ! (  ) ;`
43    = note: expanding `my_recursive_macro! {  }`
44    = note: to `my_recursive_macro ! (  ) ;`
45    = note: expanding `my_recursive_macro! {  }`
46    = note: to `my_recursive_macro ! (  ) ;`
47