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 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide_completion/src/completions/qualified_path.rs index b5bf6b5514..a2662d2932 100644 --- a/crates/ide_completion/src/completions/qualified_path.rs +++ b/crates/ide_completion/src/completions/qualified_path.rs @@ -260,8 +260,8 @@ fn foo() { let _ = lib::S::$0 } "#, expect![[r#" fn public_method() fn() - ct PUBLIC_CONST pub const PUBLIC_CONST: u32 = 1; - ta PublicType pub type PublicType = u32; + ct PUBLIC_CONST pub const PUBLIC_CONST: u32; + ta PublicType pub type PublicType; "#]], ); } @@ -392,10 +392,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 = 0; + 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) "#]], @@ -626,7 +626,7 @@ impl u8 { } "#, expect![[r#" - ct MAX pub const MAX: Self = 255; + ct MAX pub const MAX: Self; me func(…) fn(self) "#]], ); |