aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/completion/complete_qualified_path.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-04 18:03:58 +0100
committerAleksey Kladov <[email protected]>2020-07-04 18:03:58 +0100
commit943fa4639569cc2c93d3ff8f7f5b1a30cc332cb0 (patch)
tree90b2c90cbd9a429f18f576c52b6e7c2e0d75e5a9 /crates/ra_ide/src/completion/complete_qualified_path.rs
parentc14a3b4a20583acae6f636005998d64dd6bdec75 (diff)
Alight details in comkplation list
Diffstat (limited to 'crates/ra_ide/src/completion/complete_qualified_path.rs')
-rw-r--r--crates/ra_ide/src/completion/complete_qualified_path.rs44
1 files changed, 22 insertions, 22 deletions
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::<|> }
332"#, 332"#,
333 expect![[r#" 333 expect![[r#"
334 ev Bar(…) (i32) 334 ev Bar(…) (i32)
335 ev Foo () 335 ev Foo ()
336 "#]], 336 "#]],
337 ); 337 );
338 } 338 }
@@ -354,8 +354,8 @@ impl S {
354fn foo() { let _ = S::<|> } 354fn foo() { let _ = S::<|> }
355"#, 355"#,
356 expect![[r#" 356 expect![[r#"
357 ct C const C: i32 = 42; 357 ct C const C: i32 = 42;
358 ta T type T = i32; 358 ta T type T = i32;
359 fn a() fn a() 359 fn a() fn a()
360 me b() fn b(&self) 360 me b() fn b(&self)
361 "#]], 361 "#]],
@@ -382,8 +382,8 @@ mod m {
382fn foo() { let _ = S::<|> } 382fn foo() { let _ = S::<|> }
383"#, 383"#,
384 expect![[r#" 384 expect![[r#"
385 ct PUBLIC_CONST pub(super) const PUBLIC_CONST: u32 = 1; 385 ct PUBLIC_CONST pub(super) const PUBLIC_CONST: u32 = 1;
386 ta PublicType pub(super) type PublicType = u32; 386 ta PublicType pub(super) type PublicType = u32;
387 fn public_method() pub(super) fn public_method() 387 fn public_method() pub(super) fn public_method()
388 "#]], 388 "#]],
389 ); 389 );
@@ -504,13 +504,13 @@ trait Sub: Super {
504fn foo<T: Sub>() { T::<|> } 504fn foo<T: Sub>() { T::<|> }
505"#, 505"#,
506 expect![[r#" 506 expect![[r#"
507 ct C2 const C2: (); 507 ct C2 const C2: ();
508 ct CONST const CONST: u8; 508 ct CONST const CONST: u8;
509 ta SubTy type SubTy; 509 ta SubTy type SubTy;
510 ta Ty type Ty; 510 ta Ty type Ty;
511 fn func() fn func() 511 fn func() fn func()
512 me method() fn method(&self) 512 me method() fn method(&self)
513 fn subfunc() fn subfunc() 513 fn subfunc() fn subfunc()
514 me submethod() fn submethod(&self) 514 me submethod() fn submethod(&self)
515 "#]], 515 "#]],
516 ); 516 );
@@ -544,13 +544,13 @@ impl<T> Sub for Wrap<T> {
544} 544}
545"#, 545"#,
546 expect![[r#" 546 expect![[r#"
547 ct C2 const C2: () = (); 547 ct C2 const C2: () = ();
548 ct CONST const CONST: u8 = 0; 548 ct CONST const CONST: u8 = 0;
549 ta SubTy type SubTy; 549 ta SubTy type SubTy;
550 ta Ty type Ty; 550 ta Ty type Ty;
551 fn func() fn func() 551 fn func() fn func()
552 me method() fn method(&self) 552 me method() fn method(&self)
553 fn subfunc() fn subfunc() 553 fn subfunc() fn subfunc()
554 me submethod() fn submethod(&self) 554 me submethod() fn submethod(&self)
555 "#]], 555 "#]],
556 ); 556 );
@@ -586,7 +586,7 @@ fn main() { let _ = crate::<|> }
586 expect![[r##" 586 expect![[r##"
587 ma foo!(…) #[macro_export] 587 ma foo!(…) #[macro_export]
588 macro_rules! foo 588 macro_rules! foo
589 fn main() fn main() 589 fn main() fn main()
590 "##]], 590 "##]],
591 ); 591 );
592 } 592 }
@@ -630,7 +630,7 @@ mod p {
630 expect![[r#" 630 expect![[r#"
631 ct RIGHT_CONST 631 ct RIGHT_CONST
632 st RightType 632 st RightType
633 fn right_fn() fn wrong_fn() 633 fn right_fn() fn wrong_fn()
634 "#]], 634 "#]],
635 ); 635 );
636 636
@@ -676,7 +676,7 @@ fn main() { m!(self::f<|>); }
676fn foo() {} 676fn foo() {}
677"#, 677"#,
678 expect![[r#" 678 expect![[r#"
679 fn foo() fn foo() 679 fn foo() fn foo()
680 fn main() fn main() 680 fn main() fn main()
681 "#]], 681 "#]],
682 ); 682 );