Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/render.rs')
-rw-r--r--crates/ide-completion/src/render.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/crates/ide-completion/src/render.rs b/crates/ide-completion/src/render.rs
index ca2b3ad343..942dc03368 100644
--- a/crates/ide-completion/src/render.rs
+++ b/crates/ide-completion/src/render.rs
@@ -1099,6 +1099,8 @@ fn go(world: &WorldSnapshot) { go(w$0) }
"#,
expect![[r#"
lc world [type+name+local]
+ st WorldSnapshot {…} []
+ st &WorldSnapshot {…} [type]
st WorldSnapshot []
fn go(…) []
"#]],
@@ -1197,6 +1199,8 @@ fn main() {
lc s [name+local]
lc &mut s [type+name+local]
st S []
+ st &mut S [type]
+ st S []
fn main() []
fn foo(…) []
"#]],
@@ -1266,6 +1270,8 @@ fn main() {
lc m [local]
lc t [local]
lc &t [type+local]
+ st S []
+ st &S [type]
st T []
st S []
fn main() []
@@ -1311,6 +1317,8 @@ fn main() {
lc m [local]
lc t [local]
lc &mut t [type+local]
+ st S []
+ st &mut S [type]
st T []
st S []
fn main() []
@@ -1405,6 +1413,8 @@ fn main() {
}
"#,
expect![[r#"
+ st S []
+ st &S [type]
st T []
st S []
fn main() []