diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-09 13:16:39 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-09 13:16:39 +0000 |
commit | ef989880fff36f10b7e166647497779bacc1c47f (patch) | |
tree | 3fbf3b76697775ec50c286f9691fc736d7fb4886 /crates/hir_ty/src/tests/coercion.rs | |
parent | 7bda4c722bc5bb81b0f5b0f4c9390e3c7b602d0f (diff) | |
parent | da3b5e35a69fd71ba061169e2fe719e36dbc3ef4 (diff) |
Merge #6771
6771: Properly attach inner attributes in Attrs::new r=matklad a=Veykril
Properly attach inner and outer attributes to the things they actually belong to in the HIR. ~~I can add some tests for this if wanted once I know where to put them/how to test for this.~~ Put some tests into `hover.rs`.
So the following snippet
```rust
mod foo {
//! Hello
}
```
now shows `Hello` on hover 🎉
Fixes #2148
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/tests/coercion.rs')
0 files changed, 0 insertions, 0 deletions