about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-13 10:29:55 +0000
committerbors <bors@rust-lang.org>2023-10-13 10:29:55 +0000
commit34bc5716b539272b193fdd2a549a28c60783cf5d (patch)
tree04a25535d905ed4cc3f0faa0ef0520f9a9d3b9d4 /compiler/rustc_feature/src
parenta4a10bdf29a13b8773948c8938d2af47c03becb9 (diff)
parente7618756c067081c4d347b1ad5f500af0bb534a0 (diff)
downloadrust-34bc5716b539272b193fdd2a549a28c60783cf5d.tar.gz
rust-34bc5716b539272b193fdd2a549a28c60783cf5d.zip
Auto merge of #116676 - estebank:issue-116658, r=compiler-errors
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