Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-completion/src/tests/pattern.rs')
| -rw-r--r-- | crates/ide-completion/src/tests/pattern.rs | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/crates/ide-completion/src/tests/pattern.rs b/crates/ide-completion/src/tests/pattern.rs index 5363e33b85..67cf551fce 100644 --- a/crates/ide-completion/src/tests/pattern.rs +++ b/crates/ide-completion/src/tests/pattern.rs @@ -316,15 +316,6 @@ fn func() { bn RecordV {…} RecordV { field$1 }$0 bn TupleV(…) TupleV($1)$0 bn UnitV UnitV$0 - sn () - sn CONST - sn Enum::UnitV - sn STATIC - sn Unit - sn false - sn func() - sn function() - sn true "#]], ); } @@ -567,12 +558,10 @@ fn foo() { } "#, expect![[r#" - bn A A$0 - bn B {…} B { r#type$1 }$0 - bn struct {…} r#struct { r#type$1 }$0 - bn type r#type$0 - sn Enum::A - sn Enum::r#type + bn A A$0 + bn B {…} B { r#type$1 }$0 + bn struct {…} r#struct { r#type$1 }$0 + bn type r#type$0 "#]], ); } @@ -597,7 +586,6 @@ fn f(t: Ty) { "#, expect![[r#" ct ABC const ABC: Self - sn t "#]], ); @@ -620,7 +608,6 @@ fn f(e: MyEnum) { expect![[r#" ct A pub const A: i32 ct B pub const B: i32 - sn e "#]], ); @@ -646,7 +633,6 @@ fn f(u: U) { expect![[r#" ct C pub const C: i32 ct D pub const D: i32 - sn u "#]], ); @@ -666,7 +652,6 @@ fn f(v: u32) { "#, expect![[r#" ct MIN pub const MIN: Self - sn v "#]], ); } @@ -778,7 +763,6 @@ fn f(x: EnumAlias<u8>) { expect![[r#" bn Tuple(…) Tuple($1)$0 bn Unit Unit$0 - sn x "#]], ); } |