mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
fix: Fix attribute stripping ignoring doc comments
This commit is contained in:
parent
87735e5e9e
commit
81163b8cd4
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