@@ -298,7 +298,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
298298 pub ( super ) fn expr_into_pattern (
299299 & mut self ,
300300 mut block : BasicBlock ,
301- irrefutable_pat : Pattern < ' tcx > ,
301+ irrefutable_pat : Pat < ' tcx > ,
302302 initializer : ExprRef < ' tcx > ,
303303 ) -> BlockAnd < ( ) > {
304304 match * irrefutable_pat. kind {
@@ -337,7 +337,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
337337 // dubious way, so it may be that the test is kind of
338338 // broken.
339339 PatKind :: AscribeUserType {
340- subpattern : Pattern {
340+ subpattern : Pat {
341341 kind : box PatKind :: Binding {
342342 mode : BindingMode :: ByValue ,
343343 var,
@@ -414,7 +414,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
414414 pub fn place_into_pattern (
415415 & mut self ,
416416 block : BasicBlock ,
417- irrefutable_pat : Pattern < ' tcx > ,
417+ irrefutable_pat : Pat < ' tcx > ,
418418 initializer : & Place < ' tcx > ,
419419 set_match_place : bool ,
420420 ) -> BlockAnd < ( ) > {
@@ -486,7 +486,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
486486 & mut self ,
487487 mut visibility_scope : Option < SourceScope > ,
488488 scope_span : Span ,
489- pattern : & Pattern < ' tcx > ,
489+ pattern : & Pat < ' tcx > ,
490490 has_guard : ArmHasGuard ,
491491 opt_match_place : Option < ( Option < & Place < ' tcx > > , Span ) > ,
492492 ) -> Option < SourceScope > {
@@ -556,7 +556,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
556556
557557 pub ( super ) fn visit_bindings (
558558 & mut self ,
559- pattern : & Pattern < ' tcx > ,
559+ pattern : & Pat < ' tcx > ,
560560 pattern_user_ty : UserTypeProjections ,
561561 f : & mut impl FnMut (
562562 & mut Self ,
@@ -718,7 +718,7 @@ pub struct MatchPair<'pat, 'tcx> {
718718 place : Place < ' tcx > ,
719719
720720 // ... must match this pattern.
721- pattern : & ' pat Pattern < ' tcx > ,
721+ pattern : & ' pat Pat < ' tcx > ,
722722}
723723
724724#[ derive( Clone , Debug , PartialEq ) ]
@@ -1339,7 +1339,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
13391339}
13401340
13411341///////////////////////////////////////////////////////////////////////////
1342- // Pattern binding - used for `let` and function parameters as well.
1342+ // Pat binding - used for `let` and function parameters as well.
13431343
13441344impl < ' a , ' tcx > Builder < ' a , ' tcx > {
13451345 /// Initializes each of the bindings from the candidate by
0 commit comments