diff options
| author | bors <bors@rust-lang.org> | 2022-01-03 06:59:52 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-03 06:59:52 +0000 |
| commit | d367c349ef2dd04ebc876a0cd0b0efa46c18ff12 (patch) | |
| tree | c913d0f552ce1238351ab99815804418c4bae229 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | b5da80871d5e22401e03ce5ed73200ece8bdc7a6 (diff) | |
| parent | 137c374c414e26f50fdfe54cfd3d6a672ff25533 (diff) | |
| download | rust-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
