]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-16098.stderr
Rollup merge of #106717 - klensy:typo, r=lcnr
[rust.git] / tests / ui / macros / issue-16098.stderr
1 error: recursion limit reached while expanding `prob1!`
2   --> $DIR/issue-16098.rs:7:18
3    |
4 LL |             $n + prob1!($n - 1);
5    |                  ^^^^^^^^^^^^^^
6 ...
7 LL |     println!("Problem 1: {}", prob1!(1000));
8    |                               ------------ in this macro invocation
9    |
10    = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_16098`)
11    = note: this error originates in the macro `prob1` (in Nightly builds, run with -Z macro-backtrace for more info)
12
13 error: aborting due to previous error
14