bors[bot] 734a43e95a
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 <hooccooh1896@gmail.com>
2019-09-09 08:45:00 +00:00
..
2019-08-06 10:57:16 +02:00
2019-09-06 17:21:29 +03:00
2019-09-06 14:21:11 +03:00
2019-09-06 14:21:11 +03:00
2019-09-02 21:23:19 +03:00
2019-09-09 01:34:53 +08:00
2019-09-06 21:57:11 +03:00
2019-09-06 20:58:21 +03:00
2019-09-02 21:52:06 +03:00
⬆️ once_cell
2019-09-01 23:18:15 +03:00
2019-09-05 22:04:56 +08:00
2019-08-22 15:57:48 +03:00
2019-09-06 17:21:29 +03:00