ICE with async functions inside extern block: No HirId for DefId #95829
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm seeing an internal compiler error on the following input, found by fuzz-rustc:
Code
Error output
Note that this code should not compile, the two errors before the ICE are correct.
Affected versions: nightly 2022-04-07 and beta 1.61.0-beta.1 both ICE with the same message, stable 1.60 does not ICE.
Backtrace
The error message is the same as #95307, but this issue looks more similar to #91370.
The text was updated successfully, but these errors were encountered: