about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-07 20:28:20 +0200
committerGitHub <noreply@github.com>2024-08-07 20:28:20 +0200
commitaba506b12ae06334194f63b550046bc2af4c18f8 (patch)
tree597ce41ad141032e08fac41c0101e56816a75bbb /compiler/rustc_codegen_llvm/src/errors.rs
parent04ab8e385c0bfdfe41d680eb5d9ce8ed5f4ba76a (diff)
parentc1897960c016d7296b945175b0fef9546f6326a6 (diff)
downloadrust-aba506b12ae06334194f63b550046bc2af4c18f8.tar.gz
rust-aba506b12ae06334194f63b550046bc2af4c18f8.zip
Rollup merge of #128782 - RalfJung:raw-addr-of-parens, r=compiler-errors
unused_parens: do not lint against parens around &raw

Requested by `@tmandry` in https://github.com/rust-lang/rust/pull/127679: with `&raw` one somewhat regularly has to write code like `(&raw const (*myptr).field).method()`, so parentheses around the expression are often required. To avoid churn between adding and removing parentheses as method calls appear and disappear, the proposal was made to silence the lint for unnecessary parentheses around `&raw` expressions. This PR implements that.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions