]> git.lizzy.rs Git - rust.git/commitdiff
Merge #5318
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Sat, 11 Jul 2020 16:40:56 +0000 (16:40 +0000)
committerGitHub <noreply@github.com>
Sat, 11 Jul 2020 16:40:56 +0000 (16:40 +0000)
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>

Trivial merge