Add tests for a few fixed issues
This commit is contained in:
parent
f3d46bda65
commit
64716d529a
20 changed files with 363 additions and 3 deletions
|
|
@ -557,7 +557,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
self.recursion_count += 1;
|
||||
if self.recursion_count > self.ecfg.recursion_limit {
|
||||
self.span_fatal(ei.call_site,
|
||||
format!("Recursion limit reached while expanding the macro `{}`",
|
||||
format!("recursion limit reached while expanding the macro `{}`",
|
||||
ei.callee.name).as_slice());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue