bors[bot] ef989880ff
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 <lukastw97@gmail.com>
2020-12-09 13:16:39 +00:00
..
2020-11-17 15:25:57 +01:00
2020-11-25 10:11:53 -05:00
2020-12-09 13:16:39 +00:00
2020-12-07 11:48:58 +01:00
2020-12-09 13:16:39 +00:00
2020-12-08 13:23:12 +00:00
2020-11-22 20:44:56 -08:00
2020-11-26 21:07:15 +02:00