rust/compiler/rustc_ast_passes
Aaron Hill 137c374c41
Move PatKind::Lit checking from ast_validation to ast lowering
Fixes #92074

This allows us to insert an `ExprKind::Err` when an invalid expression
is used in a literal pattern, preventing later stages of compilation
from seeing an unexpected literal pattern.
2022-01-01 15:10:43 -05:00
..
src Move PatKind::Lit checking from ast_validation to ast lowering 2022-01-01 15:10:43 -05:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00