about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-14 06:46:16 +0000
committerbors <bors@rust-lang.org>2024-03-14 06:46:16 +0000
commit24071bdf889d89052efcb3245c6de90a8899526e (patch)
treeeec550e91293d7ce0f751cfad6e41493186a515c /compiler/rustc_pattern_analysis/src/errors.rs
parent34d6f07646e28977a2b7fb5c90202b6973c4441e (diff)
parent4cd673b4c6b6c633ea768b7d5ff1dbfead53c153 (diff)
downloadrust-24071bdf889d89052efcb3245c6de90a8899526e.tar.gz
rust-24071bdf889d89052efcb3245c6de90a8899526e.zip
Auto merge of #3378 - rust-lang:rustup-2024-03-14, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_pattern_analysis/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_pattern_analysis/src/errors.rs b/compiler/rustc_pattern_analysis/src/errors.rs
index 21a61d46ccb..75b7b7c8f67 100644
--- a/compiler/rustc_pattern_analysis/src/errors.rs
+++ b/compiler/rustc_pattern_analysis/src/errors.rs
@@ -4,7 +4,7 @@ use rustc_middle::thir::Pat;
 use rustc_middle::ty::Ty;
 use rustc_span::Span;
 
-use crate::rustc::{RustcMatchCheckCtxt, WitnessPat};
+use crate::rustc::{RustcPatCtxt, WitnessPat};
 
 #[derive(Subdiagnostic)]
 #[label(pattern_analysis_uncovered)]
@@ -21,7 +21,7 @@ pub struct Uncovered<'tcx> {
 impl<'tcx> Uncovered<'tcx> {
     pub fn new<'p>(
         span: Span,
-        cx: &RustcMatchCheckCtxt<'p, 'tcx>,
+        cx: &RustcPatCtxt<'p, 'tcx>,
         witnesses: Vec<WitnessPat<'p, 'tcx>>,
     ) -> Self
     where