about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-24 13:17:50 +0000
committerbors <bors@rust-lang.org>2023-07-24 13:17:50 +0000
commit31f37693e930d9f72f0c22e1056e23f481674cca (patch)
tree64f8de66c46025e7898518b30aa31bf2cdeaa44e /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
parenta44772539422d5bd32fb7a97ae2e2be4df95ebdb (diff)
parent0d59d1d617531c1fe73cc94a4eaac7db5f23aa72 (diff)
downloadrust-31f37693e930d9f72f0c22e1056e23f481674cca.tar.gz
rust-31f37693e930d9f72f0c22e1056e23f481674cca.zip
Auto merge of #11031 - Centri3:needless_return, r=giraffate
New lint [`needless_return_with_try`]

Closes #10902

Rather than having a config option, this will just suggest removing the "return"; if `try_err` is used as well, then it'll be added again but without the `?`.

changelog: New lint [`needless_return_with_try`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions