about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-10-12 22:20:17 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-10-12 23:29:02 +0000
commite7618756c067081c4d347b1ad5f500af0bb534a0 (patch)
treea41ec6c2210d47745bc566f8c9d28b0f6021bcb3 /compiler/rustc_feature/src
parentdf4379b4eb5357263f0cf75475953f9b5c48c31f (diff)
downloadrust-e7618756c067081c4d347b1ad5f500af0bb534a0.tar.gz
rust-e7618756c067081c4d347b1ad5f500af0bb534a0.zip
On type error involving closure, avoid ICE
When we encounter a type error involving a closure, we try to typeck
prior closure invocations to see if they influenced the current expected
type. When trying to do so, ensure that the closure was defined in our
current scope.

Fix #116658.
Diffstat (limited to 'compiler/rustc_feature/src')
0 files changed, 0 insertions, 0 deletions