about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-14 15:03:39 +0000
committerbors <bors@rust-lang.org>2022-09-14 15:03:39 +0000
commit9c9aa928980ca651a75801b90d814a8fb598ed0a (patch)
tree0c1f005731a11889a30034623a768b4ecc321b00 /src/test/debuginfo/enum-thinlto.rs
parent826a8930e648b88484b15b9b568ebd5464c25dec (diff)
parent86d18b50ed64fa5dd6313d595ad4c53d6eb610a2 (diff)
downloadrust-9c9aa928980ca651a75801b90d814a8fb598ed0a.tar.gz
rust-9c9aa928980ca651a75801b90d814a8fb598ed0a.zip
Auto merge of #9465 - Alexendoo:peekable-fp, r=flip1995
Fix `unused_peekable` closure and `f(&mut peekable)` false positives

changelog: Fix [`unused_peekable`] false positive when peeked in a closure or called as `f(&mut peekable)`

The `return`/`break` changes aren't part of the fix, they allow an earlier return in some cases. `break` is replaced with `return` for style purposes as they do the same thing in this case

Fixes #9456
Fixes #9462
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions