]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/trace_faulty_macros.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[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 LL |         my_faulty_macro!(bcd); //~ ERROR no rules
5    |                          ^^^
6 ...
7 LL |     my_faulty_macro!();
8    |     ------------------- in this macro invocation
9
10 note: trace_macro
11   --> $DIR/trace_faulty_macros.rs:43:5
12    |
13 LL |     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 LL |         my_recursive_macro!(); //~ ERROR recursion limit
24    |         ^^^^^^^^^^^^^^^^^^^^^^
25 ...
26 LL |     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 LL |     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
48 error: aborting due to 2 previous errors
49