rust/compiler/rustc_passes/src
Matthias Krüger 1f93d2b411
Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkin
Add `PatKind::Err` to AST/HIR

#116715 added `thir::PatKind::Error`; this PR adds `hir::PatKind::Err` and `ast::PatKind::Err` (see https://github.com/rust-lang/rust/pull/118625#discussion_r1446587901.)

---

``@rustbot`` label +A-patterns
r? WaffleLapkin
2024-01-18 10:34:18 +01:00
..
liveness Match unmatched backticks in compiler/ that are part of rustdoc 2023-03-03 08:39:00 +01:00
abi_test.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
check_attr.rs Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
check_const.rs Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
dead.rs Skip dead code checks on items that failed typeck 2024-01-16 10:52:28 +00:00
debugger_visualizer.rs Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
diagnostic_items.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
entry.rs Rework how diagnostic lints are stored. 2024-01-14 14:04:25 +11:00
errors.rs Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00
hir_id_validator.rs Add DiagCtxt::delayed_bug. 2024-01-10 07:33:07 +11:00
hir_stats.rs Add PatKind::Err 2024-01-17 03:14:16 +01:00
lang_items.rs Delegation implementation: step 1 2024-01-12 14:11:16 +03:00
layout_test.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
lib_features.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
lib.rs Pass DeadItem and lint as consistent group in dead-code. 2023-12-25 13:15:28 +00:00
liveness.rs Add DiagCtxt::delayed_bug. 2024-01-10 07:33:07 +11:00
loops.rs Auto merge of #119258 - compiler-errors:closure-kind, r=eholk 2023-12-26 04:25:53 +00:00
naked_functions.rs Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
reachable.rs Move some methods from tcx.hir() to tcx 2023-12-12 06:40:29 -08:00
stability.rs Address review comments and add back some #[inline] attrs from removed commits. 2024-01-04 13:51:06 +01:00
upvars.rs is_coroutine -> is_coroutine_or_closure 2023-12-30 15:24:15 +00:00
weak_lang_items.rs Stop mentioning internal lang items in no_std binary errors 2024-01-10 21:18:54 +01:00