mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Merge #11230
11230: fix: Fix attribute stripping ignoring doc comments r=Veykril a=Veykril Follow up to https://github.com/rust-analyzer/rust-analyzer/pull/11225#pullrequestreview-846779237 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
commit
41a0e95d61
5 changed files with 35 additions and 18 deletions
|
@ -772,6 +772,7 @@ impl ast::HasLoopBody for ast::ForExpr {
|
|||
}
|
||||
|
||||
impl ast::HasAttrs for ast::AnyHasDocComments {}
|
||||
impl ast::HasDocComments for ast::Item {}
|
||||
|
||||
impl From<ast::Adt> for ast::Item {
|
||||
fn from(it: ast::Adt) -> Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue