blob: 31162ca50cc895d3753b693f4e79c0c9ff1393ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
error: recursion limit reached while expanding the macro `prob1`
--> $DIR/issue-16098.rs:17:18
|
LL | $n + prob1!($n - 1); //~ ERROR recursion limit reached while expanding the macro `prob1`
| ^^^^^^^^^^^^^^
...
LL | println!("Problem 1: {}", prob1!(1000));
| ------------ in this macro invocation
|
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate
error: aborting due to previous error
|