aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-21 16:02:07 +0000
committerGitHub <[email protected]>2020-03-21 16:02:07 +0000
commit50c6a315ab2bef493b618742989744fb370a32ca (patch)
treefc4ee3a02310c55167d62d4bd95931d161178155 /crates/ra_syntax/src/ast
parent5e827bd948ea206328b126345ab8e909978b3b9b (diff)
parent9ff50d7e839c635632021d47e2dd3982916e4738 (diff)
Merge #3671
3671: Add identity expansion checking in ill-form expansion r=flodiebold a=edwin0cheng This PR try to add more checking code in error case in macro expansion. The bug in #3642 is introduced by #3580 , which allow ill-form macro expansion in *all* kind of macro expansions. In general we should separate hypothetical macro expansion and the actual macro expansion call. However, currently the `Semantic` workflow we are using only support single macro expansion type, we might want to review it and make it works in both ways. (Maybe add a field in `MacroCallLoc` for differentiation) Fix #3642 Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast')
0 files changed, 0 insertions, 0 deletions