about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-03 06:59:52 +0000
committerbors <bors@rust-lang.org>2022-01-03 06:59:52 +0000
commitd367c349ef2dd04ebc876a0cd0b0efa46c18ff12 (patch)
treec913d0f552ce1238351ab99815804418c4bae229 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb5da80871d5e22401e03ce5ed73200ece8bdc7a6 (diff)
parent137c374c414e26f50fdfe54cfd3d6a672ff25533 (diff)
downloadrust-d367c349ef2dd04ebc876a0cd0b0efa46c18ff12.tar.gz
rust-d367c349ef2dd04ebc876a0cd0b0efa46c18ff12.zip
Auto merge of #92080 - Aaron1011:pattern-ice, r=cjgillot
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