]> git.lizzy.rs Git - rust.git/commit
is_from_for_desugar: add match for `for _ in x`
authorJoonas Koivunen <joonas.koivunen@gmail.com>
Fri, 18 Aug 2017 14:07:39 +0000 (17:07 +0300)
committerJoonas Koivunen <joonas.koivunen@gmail.com>
Fri, 18 Aug 2017 14:07:39 +0000 (17:07 +0300)
commitcf8e95eb2208ab869df241d11c887a33e67d033f
tree45b97a80cc209f21955f86db3116d6f1b9d1d446
parent7cdaeae1b877ca03b26ccb9b82754b826b03da5d
is_from_for_desugar: add match for `for _ in x`

This will avoid `let_unit_value` in the examples in the ui-test.
It might match too widely.
clippy_lints/src/utils/higher.rs
tests/ui/let_unit.rs