about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/tests/complexity.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2024-06-24 01:11:56 +0000
committerEsteban Küber <esteban@kuber.com.ar>2024-06-24 03:39:54 +0000
commita2298a6f190a020da69860433b4031775ea82cbe (patch)
tree110563a04a4e3472799f084773959e9fa4da6500 /compiler/rustc_pattern_analysis/tests/complexity.rs
parent33422e72c8a66bdb5ee21246a948a1a02ca91674 (diff)
downloadrust-a2298a6f190a020da69860433b4031775ea82cbe.tar.gz
rust-a2298a6f190a020da69860433b4031775ea82cbe.zip
Do not ICE when suggesting dereferencing closure arg
Account for `for` lifetimes when constructing closure to see if dereferencing the return value would be valid.

Fix #125634, fix #124563.
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests/complexity.rs')
0 files changed, 0 insertions, 0 deletions