about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-31 14:20:17 +0000
committerbors <bors@rust-lang.org>2023-01-31 14:20:17 +0000
commitb5a4fa1322fe7a8120a76ffcb4037f3adcfe19bc (patch)
tree4ac85e5ae4e59aa7aafc122c94298697f8eda9cf /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent607e3e893e5963c55986880db1cd1031a910d3af (diff)
parent6a8b20230b4e1ccdc5936d9cde5a6018d3b8fc74 (diff)
downloadrust-b5a4fa1322fe7a8120a76ffcb4037f3adcfe19bc.tar.gz
rust-b5a4fa1322fe7a8120a76ffcb4037f3adcfe19bc.zip
Auto merge of #10222 - Alexendoo:needless-lifetime-suggestion, r=flip1995
Add machine applicable suggestion for `needless_lifetimes`

changelog: [`needless_lifetimes`]: Add machine applicable suggestion

Fixes #9360

It doesn't make suggestions for async functions as the input lifetime spans are funky there

The examples in #5787 and #7271 no longer seem to FP this PR aside, I added tests for them rather than disabling the lint entirely for async functions, I don't know if there are further FPs there though

Closes #5787
Closes #7271
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions