aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_assists/src/fill_match_arms.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/crates/ra_assists/src/fill_match_arms.rs b/crates/ra_assists/src/fill_match_arms.rs
index 005088540..6bf6e7332 100644
--- a/crates/ra_assists/src/fill_match_arms.rs
+++ b/crates/ra_assists/src/fill_match_arms.rs
@@ -131,10 +131,6 @@ mod tests {
131 r#" 131 r#"
132 enum A { 132 enum A {
133 As, 133 As,
134 Bs,
135 Cs(String),
136 Ds(String, String),
137 Es{x: usize, y: usize}
138 } 134 }
139 135
140 fn foo(a: &A) { 136 fn foo(a: &A) {
@@ -145,19 +141,11 @@ mod tests {
145 r#" 141 r#"
146 enum A { 142 enum A {
147 As, 143 As,
148 Bs,
149 Cs(String),
150 Ds(String, String),
151 Es{x: usize, y: usize}
152 } 144 }
153 145
154 fn foo(a: &A) { 146 fn foo(a: &A) {
155 match <|>a { 147 match <|>a {
156 A::As => (), 148 A::As => (),
157 A::Bs => (),
158 A::Cs(_) => (),
159 A::Ds(_, _) => (),
160 A::Es{x, y} => (),
161 } 149 }
162 } 150 }
163 "#, 151 "#,
@@ -167,10 +155,6 @@ mod tests {
167 fill_match_arms, 155 fill_match_arms,
168 r#" 156 r#"
169 enum A { 157 enum A {
170 As,
171 Bs,
172 Cs(String),
173 Ds(String, String),
174 Es{x: usize, y: usize} 158 Es{x: usize, y: usize}
175 } 159 }
176 160
@@ -181,19 +165,11 @@ mod tests {
181 "#, 165 "#,
182 r#" 166 r#"
183 enum A { 167 enum A {
184 As,
185 Bs,
186 Cs(String),
187 Ds(String, String),
188 Es{x: usize, y: usize} 168 Es{x: usize, y: usize}
189 } 169 }
190 170
191 fn foo(a: &mut A) { 171 fn foo(a: &mut A) {
192 match <|>a { 172 match <|>a {
193 A::As => (),
194 A::Bs => (),
195 A::Cs(_) => (),
196 A::Ds(_, _) => (),
197 A::Es{x, y} => (), 173 A::Es{x, y} => (),
198 } 174 }
199 } 175 }