diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-31 20:04:07 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-31 20:04:07 +0000 |
commit | e6e93b3d1d8af018a6cb1fe3fd6c3f166c8a64f5 (patch) | |
tree | 20420c6ff4f67e09395700d4877e797cda865820 /crates/ide_db/src | |
parent | 286d90de2d213b467a092e702edf8b0706c7c1b2 (diff) | |
parent | 412f180d71bb942dcda5afaa7d6dc2ad6f463d61 (diff) |
Merge #7502
7502: Honor #![macro_use] in mod source files r=jonas-schievink a=Veykril
Fixes #7501
Since `ItemTree` builds the `RawAttrs` directly we need the special check here as I don't think we can fix this in `RawAttrs` constructor as its solely AST based and we need to touch two different ASTs here.
This just made me realize that `attrs_query` suffers from a similar problem, for example hovering an outline `mod` decl won't show inner docs, only outer ones, #7503.
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide_db/src')
0 files changed, 0 insertions, 0 deletions