Rollup merge of #140827 - compiler-errors:gather-locals-twice, r=oli-obk

Do not ICE when reassigning in GatherLocalsVisitor on the bad path

Fixes https://github.com/rust-lang/rust/issues/140785
Fixes https://github.com/rust-lang/rust/issues/140730

See comment in code.

r? oli-obk
This commit is contained in:
Matthias Krüger 2025-05-14 18:43:37 +02:00 committed by GitHub
commit 4716db0ab2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available