Rust incorrectly accepts unbalanced parentheses #58886
Labels
A-parser
Area: The lexing & parsing of Rust source code to an AST
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Rust incorrectly accepts the following code (which is missing a
)
):So far this seems to only happen if the code is inside a submodule. Shell script to reproduce:
My compiler version:
rustc 1.34.0-nightly (0ea22717a 2019-03-02)
The text was updated successfully, but these errors were encountered: