diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-03-13 14:07:44 +0100 | 
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-03-13 14:07:44 +0100 | 
| commit | f27540697e7f17b77dd2fae9fe5d9df8a5eb24c0 (patch) | |
| tree | e1bf184b86bdea8558f4724031d8fde2a1641b51 /compiler/rustc_pattern_analysis/src/lib.rs | |
| parent | 4fc35c46ff70821a37fec5f7a4c36087704d9f23 (diff) | |
| download | rust-f27540697e7f17b77dd2fae9fe5d9df8a5eb24c0.tar.gz rust-f27540697e7f17b77dd2fae9fe5d9df8a5eb24c0.zip | |
Rename `RustcMatchCheckCtxt` -> `RustcPatCtxt`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/lib.rs')
| -rw-r--r-- | compiler/rustc_pattern_analysis/src/lib.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/compiler/rustc_pattern_analysis/src/lib.rs b/compiler/rustc_pattern_analysis/src/lib.rs index ff085d2a422..5c57c990323 100644 --- a/compiler/rustc_pattern_analysis/src/lib.rs +++ b/compiler/rustc_pattern_analysis/src/lib.rs @@ -173,7 +173,7 @@ impl<'p, Cx: PatCx> Copy for MatchArm<'p, Cx> {} /// useful, and runs some lints. #[cfg(feature = "rustc")] pub fn analyze_match<'p, 'tcx>( - tycx: &rustc::RustcMatchCheckCtxt<'p, 'tcx>, + tycx: &rustc::RustcPatCtxt<'p, 'tcx>, arms: &[rustc::MatchArm<'p, 'tcx>], scrut_ty: Ty<'tcx>, pattern_complexity_limit: Option<usize>, | 
