about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-17 10:29:10 +0000
committerbors <bors@rust-lang.org>2021-01-17 10:29:10 +0000
commit40ce9f83b6904af97ab13d80642d29e573fa6814 (patch)
treee4f07cfee64ede321d7532163a2ce4b662ba85ef /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent3577cf79de342fd5e98775fe89560d918ca3793a (diff)
parent46aa654c2d1792a42835d63f9a3dfcbffc20b758 (diff)
downloadrust-40ce9f83b6904af97ab13d80642d29e573fa6814.tar.gz
rust-40ce9f83b6904af97ab13d80642d29e573fa6814.zip
Auto merge of #6549 - ThibsG:FixClosureNeedlessReturn, r=phansch
Fix FP with empty return for `needless_return` lint

This fixes a false positive in `needless_return` lint, when triggered in a closure using `return` statement without value.

Fixes: #6501

changelog: none
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions