diff options
| author | dswij <dharmasw@outlook.com> | 2025-04-21 12:38:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-21 12:38:11 +0000 |
| commit | f829f8cd5b604c0a792e10f2e77050099cdd4a0f (patch) | |
| tree | dc1d695660fc9f82d5c2a80d9031d67245df115d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 48430c29700834606152ab85a307fe3e93cea182 (diff) | |
| parent | 78d456a647c73bfdf933b806080e6e1a06b37c06 (diff) | |
| download | rust-f829f8cd5b604c0a792e10f2e77050099cdd4a0f.tar.gz rust-f829f8cd5b604c0a792e10f2e77050099cdd4a0f.zip | |
Make `borrow_as_ptr` flag implicit casts as well (#14408)
While I like replacing `&x` by `&raw const x` and `&mut x` by `&raw mut x`, I'm less sure I like the suggested reborrows such as `&raw const *p`. There was one in Clippy sources, see the PR diff. @RalfJung, any opinion on this? Fix #14406 changelog: [`borrow_as_ptr`]: lint implicit casts as well
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
