@@ -182,58 +182,64 @@ LL | x.split("\'");
182182 | ^^^^ help: try using a `char` instead: `'\''`
183183
184184error: single-character string constant used as pattern
185- --> $DIR/single_char_pattern.rs:49:31
185+ --> $DIR/single_char_pattern.rs:46:13
186+ |
187+ LL | x.split("\"");
188+ | ^^^^ help: try using a `char` instead: `'"'`
189+
190+ error: single-character string constant used as pattern
191+ --> $DIR/single_char_pattern.rs:51:31
186192 |
187193LL | x.replace(';', ",").split(","); // issue #2978
188194 | ^^^ help: try using a `char` instead: `','`
189195
190196error: single-character string constant used as pattern
191- --> $DIR/single_char_pattern.rs:50 :19
197+ --> $DIR/single_char_pattern.rs:52 :19
192198 |
193199LL | x.starts_with("\x03"); // issue #2996
194200 | ^^^^^^ help: try using a `char` instead: `'\x03'`
195201
196202error: single-character string constant used as pattern
197- --> $DIR/single_char_pattern.rs:57 :13
203+ --> $DIR/single_char_pattern.rs:59 :13
198204 |
199205LL | x.split(r"a");
200206 | ^^^^ help: try using a `char` instead: `'a'`
201207
202208error: single-character string constant used as pattern
203- --> $DIR/single_char_pattern.rs:58 :13
209+ --> $DIR/single_char_pattern.rs:60 :13
204210 |
205211LL | x.split(r#"a"#);
206212 | ^^^^^^ help: try using a `char` instead: `'a'`
207213
208214error: single-character string constant used as pattern
209- --> $DIR/single_char_pattern.rs:59 :13
215+ --> $DIR/single_char_pattern.rs:61 :13
210216 |
211217LL | x.split(r###"a"###);
212218 | ^^^^^^^^^^ help: try using a `char` instead: `'a'`
213219
214220error: single-character string constant used as pattern
215- --> $DIR/single_char_pattern.rs:60 :13
221+ --> $DIR/single_char_pattern.rs:62 :13
216222 |
217223LL | x.split(r###"'"###);
218224 | ^^^^^^^^^^ help: try using a `char` instead: `'\''`
219225
220226error: single-character string constant used as pattern
221- --> $DIR/single_char_pattern.rs:61 :13
227+ --> $DIR/single_char_pattern.rs:63 :13
222228 |
223229LL | x.split(r###"#"###);
224230 | ^^^^^^^^^^ help: try using a `char` instead: `'#'`
225231
226232error: single-character string constant used as pattern
227- --> $DIR/single_char_pattern.rs:63 :13
233+ --> $DIR/single_char_pattern.rs:65 :13
228234 |
229235LL | x.split(r#"\"#);
230236 | ^^^^^^ help: try using a `char` instead: `'\\'`
231237
232238error: single-character string constant used as pattern
233- --> $DIR/single_char_pattern.rs:64 :13
239+ --> $DIR/single_char_pattern.rs:66 :13
234240 |
235241LL | x.split(r"\");
236242 | ^^^^ help: try using a `char` instead: `'\\'`
237243
238- error: aborting due to 39 previous errors
244+ error: aborting due to 40 previous errors
239245
0 commit comments