about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-12 13:33:54 +0000
committerbors <bors@rust-lang.org>2022-04-12 13:33:54 +0000
commitf08a9c03690d751893edd4d37e83d65d2ce92305 (patch)
tree00b9974ed9a4ac9e5ec9a58262690d35788a0f01 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentb3bd03afcda90ed458ecf95cf46798c13a3817d3 (diff)
parent214fba7ed4a8e2199d42733cc191b956f0c2b017 (diff)
downloadrust-f08a9c03690d751893edd4d37e83d65d2ce92305.tar.gz
rust-f08a9c03690d751893edd4d37e83d65d2ce92305.zip
Auto merge of #8691 - flip1995:infinite_recursion_only_in_recursion, r=llogiq
Prevent infinite (exponential) recursion in only_used_in_recursion

This simplifies the visitor code a bit and prevents checking expressions
multiple times. I still think this lint should be removed for now,
because its code isn't really tested.

Fixes #8689

**NOTE:** Before merging this, we should talk about removing and revisiting this lint. See my comment in #8689

changelog: prevent infinite recursion in [`only_used_in_recursion`]
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions