2020-01-20 17:02:01 -06:00
|
|
|
error: recursion limit reached while expanding `prob1!`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-16098.rs:7:18
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | $n + prob1!($n - 1);
|
2018-07-15 16:11:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
...
|
|
|
|
LL | println!("Problem 1: {}", prob1!(1000));
|
|
|
|
| ------------ in this macro invocation
|
|
|
|
|
|
2021-09-28 15:16:42 -05:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_16098`)
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `prob1` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|