aboutsummaryrefslogtreecommitdiff
path: root/crates/completion/src/completions/unqualified_path.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-02-09 18:47:21 +0000
committerLukas Wirth <[email protected]>2021-02-09 18:47:21 +0000
commite92180a1d8c964d386fc5ffb80bfb05abdb6c153 (patch)
treebe07005b873aaf0931099bccef0bf4ceb3dab9d2 /crates/completion/src/completions/unqualified_path.rs
parent2f171ca78d306d105a9e36f8e509039d6a034c8e (diff)
Show Self pattern completions for Adts if inside impls
Diffstat (limited to 'crates/completion/src/completions/unqualified_path.rs')
-rw-r--r--crates/completion/src/completions/unqualified_path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/completion/src/completions/unqualified_path.rs b/crates/completion/src/completions/unqualified_path.rs
index fb67756bb..5112ecc2d 100644
--- a/crates/completion/src/completions/unqualified_path.rs
+++ b/crates/completion/src/completions/unqualified_path.rs
@@ -746,7 +746,7 @@ fn f() -> m::E { V$0 }
746 r#" 746 r#"
747enum Foo { Bar, Baz, Quux } 747enum Foo { Bar, Baz, Quux }
748impl Foo { 748impl Foo {
749 fn foo() { let foo: Foo = Q$0 } 749 fn foo() { match Foo::Bar { Q$0 } }
750} 750}
751"#, 751"#,
752 expect![[r#" 752 expect![[r#"