summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-10-11 23:57:46 -0400
committerGitHub <noreply@github.com>2024-10-11 23:57:46 -0400
commitfcbf4ac6f9071baa2a48799d697cbf74f81f30e1 (patch)
tree91c5555fc6077be0b7eca1ab2fa87ec8f85ea6db /compiler/rustc_codegen_llvm
parent9e72070f77b0d5a71dca91f359b599bab150e3e5 (diff)
parent1e8d6d1ec3cad6bc7d88c0a8a993f69835e8422f (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions