c52b389b16
1. Make the lifetime contained in LateContext `'tcx`. 2. Fix `'txc` to `'tcx` because it was a typo. 3. Refactor `IterFunctionVisitor`'s `visit_block` method to be more readable. 4. Replace uses of `rustc_middle::ty::TyKind` with `rustc::middle::ty`, and remove the `#[allow(...)]`. (Thank you llogiq for all these suggestions!) |
||
---|---|---|
.. | ||
empty_loop.rs | ||
explicit_counter_loop.rs | ||
explicit_into_iter_loop.rs | ||
explicit_iter_loop.rs | ||
for_kv_map.rs | ||
for_loops_over_fallibles.rs | ||
iter_next_loop.rs | ||
manual_flatten.rs | ||
manual_memcpy.rs | ||
mod.rs | ||
mut_range_bound.rs | ||
needless_collect.rs | ||
needless_range_loop.rs | ||
never_loop.rs | ||
same_item_push.rs | ||
single_element_loop.rs | ||
utils.rs | ||
while_immutable_condition.rs | ||
while_let_loop.rs | ||
while_let_on_iterator.rs |