aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_project_model
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-09-09 09:45:00 +0100
committerGitHub <[email protected]>2019-09-09 09:45:00 +0100
commit734a43e95afc97773c234956a95b78caed88f2a3 (patch)
treee7fd1ed3cd7cf00f36541c33c84ce4a2ac6559e5 /crates/ra_project_model
parent1db08a54c20c244718e2378272c72ae5c6651f06 (diff)
parentf3cbdb07c56fcfab1d65488836caafc1f395a0d1 (diff)
Merge #1793
1793: Fix outer doc-comments of `macro_rules` r=matklad a=uHOOCCOOHu Document comments of `macro_rules!` is currently parsed outside the `MACRO_CALL` node, which makes `DocCommentsOwner::doc_comments()` always empty. For the input: ```rust /// Some docs macro_rules! foo { () => {}; } ``` Current parsing tree is: ``` SOURCE_FILE COMMENT // <- This should be children of MACRO_CALL WHITESPACE MACRO_CALL PATH <...omitted...> ``` It should be: ``` SOURCE_FILE MACRO_CALL COMMENT WHITESPACE PATH <...omitted...> ``` Co-authored-by: uHOOCCOOHu <[email protected]>
Diffstat (limited to 'crates/ra_project_model')
0 files changed, 0 insertions, 0 deletions