about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorTimo <30553356+y21@users.noreply.github.com>2025-04-17 11:09:01 +0000
committerGitHub <noreply@github.com>2025-04-17 11:09:01 +0000
commit30e9cd5a260969786802b864380b642db6e7bf8a (patch)
tree00e350789a0ee5008c554be1cb11b8bfbdc54b73 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3479fdfe4fd55ca61d043e411a311657c57e0fb0 (diff)
parentcc6a3d8cd5ab4e538b5969290fd3f8623dcb5c5e (diff)
downloadrust-30e9cd5a260969786802b864380b642db6e7bf8a.tar.gz
rust-30e9cd5a260969786802b864380b642db6e7bf8a.zip
Do not recurse forever in `significant_drop_tightening` (#14641)
Limit the recursion depth, as each level of nesting adds another deeper
projection.

There might be a more complex way of handling the problem, but infinite
recursions are bad, and don't allow Clippy to terminate properly.

changelog: [`significant_drop_tightening`]: do not recurse forever when
checking for attribute on type or its constituent

Fixes rust-lang/rust-clippy#13544

@rustbot label +L-nursery
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions