about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-06-04 09:51:30 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-06-04 10:11:56 +0200
commit1ae37ada0845bdaa13008c3957b98cc75f068fd4 (patch)
tree983eaf321e383af4b744a588f50ee97b724afc56 /compiler/rustc_codegen_llvm/src/errors.rs
parent84ef7fb4144c7efbc541e47cb9fd11cd312674b3 (diff)
downloadrust-1ae37ada0845bdaa13008c3957b98cc75f068fd4.tar.gz
rust-1ae37ada0845bdaa13008c3957b98cc75f068fd4.zip
Do not recurse indefinitely while checking for inner mutability
`clippy_utils::ty::InteriorMut::interior_mut_ty_chain` must stop
recursing forever when types are chained indefinitely due to the use of
associated types in generics. A false negative is acceptable, and
documented here.

Should this situation be later identified specifically, a conversion of
`Option` to `Result` would allow separating the infinitely recursive
case from a negative one.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions