rust/compiler/rustc_ast_passes/src
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
..
ast_validation.rs Move PatKind::Lit checking from ast_validation to ast lowering 2022-01-01 15:10:43 -05:00
feature_gate.rs Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00
lib.rs Account for incorrect where T::Assoc = Ty bound 2021-11-25 01:49:48 +00:00
node_count.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
show_span.rs rustc_ast: Do not panic by default when visiting macro calls 2020-11-03 20:38:20 +03:00