It used to be that when you reach the macro recursion limit, rustc would recommend raising it and give the attribute to do so. This has been lost.
Expected Result:
Diagnostic tells how to increase recursion limit.
Actual Result:
No note/help.
Reproduce (playground gist)
macro_rules! recurse {
() => { };
($t:tt $($tail:tt)*) => { recurse!($($tail)*) };
}
fn main() {
recurse!(0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9);
}
It used to be that when you reach the macro recursion limit, rustc would recommend raising it and give the attribute to do so. This has been lost.
Expected Result:
Diagnostic tells how to increase recursion limit.
Actual Result:
No note/help.
Reproduce (playground gist)