mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Introduce AttrKind
This commit is contained in:
parent
1596b31698
commit
848c576266
3 changed files with 16 additions and 8 deletions
|
@ -18,8 +18,8 @@ use crate::{
|
|||
pub use self::{
|
||||
expr_extensions::{ArrayExprKind, BinOp, ElseBranch, LiteralKind, PrefixOp, RangeOp},
|
||||
extensions::{
|
||||
FieldKind, PathSegmentKind, SelfParamKind, SlicePatComponents, StructKind, TypeBoundKind,
|
||||
VisibilityKind,
|
||||
AttrKind, FieldKind, PathSegmentKind, SelfParamKind, SlicePatComponents, StructKind,
|
||||
TypeBoundKind, VisibilityKind,
|
||||
},
|
||||
generated::*,
|
||||
tokens::*,
|
||||
|
@ -218,7 +218,7 @@ fn test_doc_comment_multi_line_block_strips_suffix() {
|
|||
fn test_comments_preserve_trailing_whitespace() {
|
||||
let file = SourceFile::parse(
|
||||
r#"
|
||||
/// Representation of a Realm.
|
||||
/// Representation of a Realm.
|
||||
/// In the specification these are called Realm Records.
|
||||
struct Realm {}"#,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue