Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_completion/src/completions/qualified_path.rs')
| -rw-r--r-- | crates/ide_completion/src/completions/qualified_path.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide_completion/src/completions/qualified_path.rs index 656d46b10b..8628de413b 100644 --- a/crates/ide_completion/src/completions/qualified_path.rs +++ b/crates/ide_completion/src/completions/qualified_path.rs @@ -287,7 +287,7 @@ fn foo() { let _ = lib::S::$0 } "#, expect![[r#" fn public_method() fn() - ct PUBLIC_CONST pub const PUBLIC_CONST: u32; + ct PUBLIC_CONST pub const PUBLIC_CONST: u32 ta PublicType pub type PublicType; "#]], ); @@ -379,10 +379,10 @@ fn foo<T: Sub>() { T::$0 } expect![[r#" ta SubTy (as Sub) type SubTy; ta Ty (as Super) type Ty; - ct C2 (as Sub) const C2: (); + ct C2 (as Sub) const C2: () fn subfunc() (as Sub) fn() me submethod(…) (as Sub) fn(&self) - ct CONST (as Super) const CONST: u8; + ct CONST (as Super) const CONST: u8 fn func() (as Super) fn() me method(…) (as Super) fn(&self) "#]], @@ -419,10 +419,10 @@ impl<T> Sub for Wrap<T> { expect![[r#" ta SubTy (as Sub) type SubTy; ta Ty (as Super) type Ty; - ct CONST (as Super) const CONST: u8; + ct CONST (as Super) const CONST: u8 fn func() (as Super) fn() me method(…) (as Super) fn(&self) - ct C2 (as Sub) const C2: (); + ct C2 (as Sub) const C2: () fn subfunc() (as Sub) fn() me submethod(…) (as Sub) fn(&self) "#]], @@ -653,7 +653,7 @@ impl u8 { } "#, expect![[r#" - ct MAX pub const MAX: Self; + ct MAX pub const MAX: Self me func(…) fn(self) "#]], ); |