@@ -283,73 +283,73 @@ LL | let _ = v.iter().find(|fp| test_u32_2(*fp.field)).is_none();
283283 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!v.iter().any(|fp| test_u32_2(*fp.field))`
284284
285285error: called `is_none()` after searching an `Iterator` with `find`
286- --> $DIR /search_is_some_fixable_none.rs:235:17
286+ --> tests/ui /search_is_some_fixable_none.rs:235:17
287287 |
288288LL | let _ = v.iter().find(|x| **x == 42).is_none();
289289 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!v.iter().any(|x| *x == 42)`
290290
291291error: called `is_none()` after searching an `Iterator` with `find`
292- --> $DIR /search_is_some_fixable_none.rs:236:17
292+ --> tests/ui /search_is_some_fixable_none.rs:236:17
293293 |
294294LL | Foo.bar(v.iter().find(|x| **x == 42).is_none());
295295 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!v.iter().any(|x| *x == 42)`
296296
297297error: called `is_none()` after searching an `Iterator` with `find`
298- --> $DIR /search_is_some_fixable_none.rs:241:9
298+ --> tests/ui /search_is_some_fixable_none.rs:241:9
299299 |
300300LL | v.iter().find(|x| **x == 42).is_none().then(computations);
301301 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!v.iter().any(|x| *x == 42))`
302302
303303error: called `is_none()` after searching an `Iterator` with `find`
304- --> $DIR /search_is_some_fixable_none.rs:246:9
304+ --> tests/ui /search_is_some_fixable_none.rs:246:9
305305 |
306306LL | v.iter().find(|x| **x == 42).is_none().then_some(0);
307307 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!v.iter().any(|x| *x == 42))`
308308
309309error: called `is_none()` after calling `find()` on a string
310- --> $DIR /search_is_some_fixable_none.rs:251:17
310+ --> tests/ui /search_is_some_fixable_none.rs:251:17
311311 |
312312LL | let _ = s.find("world").is_none();
313313 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!s.contains("world")`
314314
315315error: called `is_none()` after calling `find()` on a string
316- --> $DIR /search_is_some_fixable_none.rs:252:17
316+ --> tests/ui /search_is_some_fixable_none.rs:252:17
317317 |
318318LL | Foo.bar(s.find("world").is_none());
319319 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!s.contains("world")`
320320
321321error: called `is_none()` after calling `find()` on a string
322- --> $DIR /search_is_some_fixable_none.rs:254:17
322+ --> tests/ui /search_is_some_fixable_none.rs:254:17
323323 |
324324LL | let _ = s.find("world").is_none();
325325 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!s.contains("world")`
326326
327327error: called `is_none()` after calling `find()` on a string
328- --> $DIR /search_is_some_fixable_none.rs:255:17
328+ --> tests/ui /search_is_some_fixable_none.rs:255:17
329329 |
330330LL | Foo.bar(s.find("world").is_none());
331331 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `!s.contains("world")`
332332
333333error: called `is_none()` after calling `find()` on a string
334- --> $DIR /search_is_some_fixable_none.rs:260:17
334+ --> tests/ui /search_is_some_fixable_none.rs:260:17
335335 |
336336LL | let _ = s.find("world").is_none().then(computations);
337337 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!s.contains("world"))`
338338
339339error: called `is_none()` after calling `find()` on a string
340- --> $DIR /search_is_some_fixable_none.rs:262:17
340+ --> tests/ui /search_is_some_fixable_none.rs:262:17
341341 |
342342LL | let _ = s.find("world").is_none().then(computations);
343343 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!s.contains("world"))`
344344
345345error: called `is_none()` after calling `find()` on a string
346- --> $DIR /search_is_some_fixable_none.rs:267:17
346+ --> tests/ui /search_is_some_fixable_none.rs:267:17
347347 |
348348LL | let _ = s.find("world").is_none().then_some(0);
349349 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!s.contains("world"))`
350350
351351error: called `is_none()` after calling `find()` on a string
352- --> $DIR /search_is_some_fixable_none.rs:269:17
352+ --> tests/ui /search_is_some_fixable_none.rs:269:17
353353 |
354354LL | let _ = s.find("world").is_none().then_some(0);
355355 | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `(!s.contains("world"))`
0 commit comments