diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2023-12-15 16:53:29 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2023-12-15 16:58:38 +0100 |
| commit | 4bcf66f875d77d0d5897c5b0b9d6bbd985d03a31 (patch) | |
| tree | 34cb871f1251205e9f51505a76de13f02859d9b3 /compiler/rustc_pattern_analysis/src/rustc.rs | |
| parent | 60ea14bfaab32d2d1d5f956acfd08d72a2a79e1c (diff) | |
| download | rust-4bcf66f875d77d0d5897c5b0b9d6bbd985d03a31.tar.gz rust-4bcf66f875d77d0d5897c5b0b9d6bbd985d03a31.zip | |
Introduce `MatchCtxt`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/rustc.rs')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/rustc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_pattern_analysis/src/rustc.rs b/compiler/rustc_pattern_analysis/src/rustc.rs index d9b8b3a39c0..e5d43ff09a1 100644 --- a/compiler/rustc_pattern_analysis/src/rustc.rs +++ b/compiler/rustc_pattern_analysis/src/rustc.rs @@ -31,6 +31,7 @@ pub type ConstructorSet<'p, 'tcx> = pub type DeconstructedPat<'p, 'tcx> = crate::pat::DeconstructedPat<'p, RustcMatchCheckCtxt<'p, 'tcx>>; pub type MatchArm<'p, 'tcx> = crate::MatchArm<'p, RustcMatchCheckCtxt<'p, 'tcx>>; +pub type MatchCtxt<'a, 'p, 'tcx> = crate::MatchCtxt<'a, 'p, RustcMatchCheckCtxt<'p, 'tcx>>; pub(crate) type PlaceCtxt<'a, 'p, 'tcx> = crate::usefulness::PlaceCtxt<'a, 'p, RustcMatchCheckCtxt<'p, 'tcx>>; pub(crate) type SplitConstructorSet<'p, 'tcx> = |
