'error constructed but not emitted' when parsing const keyword #81806
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The lexing & parsing of Rust source code to an AST
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
md5 of poc.rs: 7593012a00629a632a7b06982cbccb2f
The bug can be reproduced via
rustc poc.rs
Meta
The bug is reproduced with nightly and beta versions, but not with stable version.
rustc --version --verbose
:Error output
The output is from nightly version.
Backtrace
The text was updated successfully, but these errors were encountered: