diff options
| author | Trevor Gross <t.gross35@gmail.com> | 2024-10-11 23:57:46 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-11 23:57:46 -0400 |
| commit | fcbf4ac6f9071baa2a48799d697cbf74f81f30e1 (patch) | |
| tree | 91c5555fc6077be0b7eca1ab2fa87ec8f85ea6db /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 9e72070f77b0d5a71dca91f359b599bab150e3e5 (diff) | |
| parent | 1e8d6d1ec3cad6bc7d88c0a8a993f69835e8422f (diff) | |
| download | rust-fcbf4ac6f9071baa2a48799d697cbf74f81f30e1.tar.gz rust-fcbf4ac6f9071baa2a48799d697cbf74f81f30e1.zip | |
Rollup merge of #131546 - surechen:fix_129833, r=jieyouxu
Make unused_parens's suggestion considering expr's attributes.
For the expr with attributes,
like `let _ = (#[inline] || println!("Hello!"));`,
the suggestion's span should contains the attributes, or the suggestion will remove them.
fixes #129833
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
