diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-07 20:28:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 20:28:20 +0200 |
| commit | aba506b12ae06334194f63b550046bc2af4c18f8 (patch) | |
| tree | 597ce41ad141032e08fac41c0101e56816a75bbb /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 04ab8e385c0bfdfe41d680eb5d9ce8ed5f4ba76a (diff) | |
| parent | c1897960c016d7296b945175b0fef9546f6326a6 (diff) | |
| download | rust-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/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
