diff options
| author | bors <bors@rust-lang.org> | 2024-04-20 13:54:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-20 13:54:55 +0000 |
| commit | 8eafeeb47ac5605f17eb473e1c011060e49751d9 (patch) | |
| tree | 1ee95ef6db8f0bf4c75f1ef95443ff70c0d53e02 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | c2a98cbfa59bf4136272912aef9ac9af22b34496 (diff) | |
| parent | f7aef635c14c70b59b7d0b53c05ef5e8a4dae401 (diff) | |
| download | rust-8eafeeb47ac5605f17eb473e1c011060e49751d9.tar.gz rust-8eafeeb47ac5605f17eb473e1c011060e49751d9.zip | |
Auto merge of #12691 - Alexendoo:ignore-interior-mutability-indirect, r=llogiq
Rework interior mutability detection Replaces the existing interior mutability detection, the two main changes being - It now follows references/pointers e.g. `struct S(&Cell)` - `mutable_key_type` ignores pointers as it did before - The `ignore_interior_mutability` config now applies to types containing the ignored type, e.g. `http::HeaderName` Fixes https://github.com/rust-lang/rust-clippy/issues/7752 Fixes https://github.com/rust-lang/rust-clippy/issues/9776 Fixes https://github.com/rust-lang/rust-clippy/issues/9801 changelog: [`mutable_key_type`], [`declare_interior_mutable_const`]: now considers types that have references to interior mutable types as interior mutable
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
