diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-12-18 12:23:49 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2022-01-01 15:10:43 -0500 |
| commit | 137c374c414e26f50fdfe54cfd3d6a672ff25533 (patch) | |
| tree | a5d06085ed4f5e670aa412957738e4ea95a43853 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 4f49627c6fe2a32d1fed6310466bb0e1c535c0c0 (diff) | |
| download | rust-137c374c414e26f50fdfe54cfd3d6a672ff25533.tar.gz rust-137c374c414e26f50fdfe54cfd3d6a672ff25533.zip | |
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
