Parser panics on Invalid syntax pub some_name();
when inside mod
#60115
Labels
A-parser
Area: The lexing & parsing of Rust source code to an AST
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi,
I got the compiler to panic with this invalid code:
The panic does not happen when the code is outside
mod
.Happens on
Backtrace :
and also on
Backtrace :
The text was updated successfully, but these errors were encountered: