about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-12-18 12:23:49 -0500
committerAaron Hill <aa1ronham@gmail.com>2022-01-01 15:10:43 -0500
commit137c374c414e26f50fdfe54cfd3d6a672ff25533 (patch)
treea5d06085ed4f5e670aa412957738e4ea95a43853 /compiler/rustc_llvm/llvm-wrapper
parent4f49627c6fe2a32d1fed6310466bb0e1c535c0c0 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions