about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/tests/complexity.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-06-25 18:03:00 +0200
committerGitHub <noreply@github.com>2024-06-25 18:03:00 +0200
commit175756f6836e1246c3328a1b6f5d7a8ffea58f19 (patch)
treea56413cca32ad134a29e7140ff2b5b5a7a368394 /compiler/rustc_pattern_analysis/tests/complexity.rs
parent52e6f9ce967eb84a0d202e1ce1f5028929172313 (diff)
parenta2298a6f190a020da69860433b4031775ea82cbe (diff)
downloadrust-175756f6836e1246c3328a1b6f5d7a8ffea58f19.tar.gz
rust-175756f6836e1246c3328a1b6f5d7a8ffea58f19.zip
Rollup merge of #126884 - estebank:issue-125634, r=Nadrieril
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