5318: More tight recursion limit when expanding macros in function bodies r=matklad a=matklad
cc #4944
cc #5317
This doesn't fully close #4944 -- looks like we hit SO in syntax
highlighting, when we use `Semantics::expand_macro`.
Seems like we need to place expansion limit on the macro itself (store
it as a part of MacroCallId?)!
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>