Compiler panics on typeof
#29184
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
typeof
#29184
If I compile
I get
So here is a bug report :)
The cause of panic is astconv, so one solution may be to change
span_bug
tospan_err!
But the root case is the parser, which accepts
typeof
, so one over solution would be to remove the case from the parser.I don't now whether
typeof
variants should be removed fromhir::Ty_
andast::Ty_
.The text was updated successfully, but these errors were encountered: