From 943fa4639569cc2c93d3ff8f7f5b1a30cc332cb0 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 4 Jul 2020 19:03:58 +0200 Subject: Alight details in comkplation list --- .../src/completion/complete_qualified_path.rs | 44 +++++++++++----------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'crates/ra_ide/src/completion/complete_qualified_path.rs') diff --git a/crates/ra_ide/src/completion/complete_qualified_path.rs b/crates/ra_ide/src/completion/complete_qualified_path.rs index ba4121103..e5553e28f 100644 --- a/crates/ra_ide/src/completion/complete_qualified_path.rs +++ b/crates/ra_ide/src/completion/complete_qualified_path.rs @@ -332,7 +332,7 @@ fn foo() { let _ = E::<|> } "#, expect![[r#" ev Bar(…) (i32) - ev Foo () + ev Foo () "#]], ); } @@ -354,8 +354,8 @@ impl S { fn foo() { let _ = S::<|> } "#, expect![[r#" - ct C const C: i32 = 42; - ta T type T = i32; + ct C const C: i32 = 42; + ta T type T = i32; fn a() fn a() me b() fn b(&self) "#]], @@ -382,8 +382,8 @@ mod m { fn foo() { let _ = S::<|> } "#, expect![[r#" - ct PUBLIC_CONST pub(super) const PUBLIC_CONST: u32 = 1; - ta PublicType pub(super) type PublicType = u32; + ct PUBLIC_CONST pub(super) const PUBLIC_CONST: u32 = 1; + ta PublicType pub(super) type PublicType = u32; fn public_method() pub(super) fn public_method() "#]], ); @@ -504,13 +504,13 @@ trait Sub: Super { fn foo() { T::<|> } "#, expect![[r#" - ct C2 const C2: (); - ct CONST const CONST: u8; - ta SubTy type SubTy; - ta Ty type Ty; - fn func() fn func() - me method() fn method(&self) - fn subfunc() fn subfunc() + ct C2 const C2: (); + ct CONST const CONST: u8; + ta SubTy type SubTy; + ta Ty type Ty; + fn func() fn func() + me method() fn method(&self) + fn subfunc() fn subfunc() me submethod() fn submethod(&self) "#]], ); @@ -544,13 +544,13 @@ impl Sub for Wrap { } "#, expect![[r#" - ct C2 const C2: () = (); - ct CONST const CONST: u8 = 0; - ta SubTy type SubTy; - ta Ty type Ty; - fn func() fn func() - me method() fn method(&self) - fn subfunc() fn subfunc() + ct C2 const C2: () = (); + ct CONST const CONST: u8 = 0; + ta SubTy type SubTy; + ta Ty type Ty; + fn func() fn func() + me method() fn method(&self) + fn subfunc() fn subfunc() me submethod() fn submethod(&self) "#]], ); @@ -586,7 +586,7 @@ fn main() { let _ = crate::<|> } expect![[r##" ma foo!(…) #[macro_export] macro_rules! foo - fn main() fn main() + fn main() fn main() "##]], ); } @@ -630,7 +630,7 @@ mod p { expect![[r#" ct RIGHT_CONST st RightType - fn right_fn() fn wrong_fn() + fn right_fn() fn wrong_fn() "#]], ); @@ -676,7 +676,7 @@ fn main() { m!(self::f<|>); } fn foo() {} "#, expect![[r#" - fn foo() fn foo() + fn foo() fn foo() fn main() fn main() "#]], ); -- cgit v1.2.3