fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: no rules expected the token `bcd` 2 --> $DIR/trace_faulty_macros.rs:7:26 3 | 4LL | macro_rules! my_faulty_macro { 5 | ---------------------------- when calling this macro 6LL | () => { 7LL | my_faulty_macro!(bcd); 8 | ^^^ no rules expected this token in macro call 9... 10LL | my_faulty_macro!(); 11 | ------------------- in this macro invocation 12 | 13 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 14 15note: trace_macro 16 --> $DIR/trace_faulty_macros.rs:33:5 17 | 18LL | my_faulty_macro!(); 19 | ^^^^^^^^^^^^^^^^^^^ 20 | 21 = note: expanding `my_faulty_macro! { }` 22 = note: to `my_faulty_macro ! (bcd) ;` 23 = note: expanding `my_faulty_macro! { bcd }` 24 25error: recursion limit reached while expanding `my_recursive_macro!` 26 --> $DIR/trace_faulty_macros.rs:22:9 27 | 28LL | my_recursive_macro!(); 29 | ^^^^^^^^^^^^^^^^^^^^^^ 30... 31LL | my_recursive_macro!(); 32 | ---------------------- in this macro invocation 33 | 34 = help: consider adding a `#![recursion_limit="8"]` attribute to your crate (`trace_faulty_macros`) 35 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 36 37note: trace_macro 38 --> $DIR/trace_faulty_macros.rs:34:5 39 | 40LL | my_recursive_macro!(); 41 | ^^^^^^^^^^^^^^^^^^^^^^ 42 | 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 = note: expanding `my_recursive_macro! { }` 48 = note: to `my_recursive_macro ! () ;` 49 = note: expanding `my_recursive_macro! { }` 50 = note: to `my_recursive_macro ! () ;` 51 52error: aborting due to 2 previous errors 53