@@ -50,8 +50,7 @@ use ast::{BiSub, StrStyle};
50
50
use ast:: { SelfExplicit , SelfRegion , SelfStatic , SelfValue } ;
51
51
use ast:: { Delimited , SequenceRepetition , TokenTree , TraitItem , TraitRef } ;
52
52
use ast:: { TtDelimited , TtSequence , TtToken } ;
53
- use ast:: { Ty , Ty_ , TypeBinding } ;
54
- use ast:: { TyMac } ;
53
+ use ast:: { Ty , Ty_ , TypeBinding , TyMac } ;
55
54
use ast:: { TyFixedLengthVec , TyBareFn , TyTypeof , TyInfer } ;
56
55
use ast:: { TyParam , TyParamBound , TyParen , TyPath , TyPolyTraitRef , TyPtr } ;
57
56
use ast:: { TyRptr , TyTup , TyU32 , TyVec } ;
@@ -2658,7 +2657,10 @@ impl<'a> Parser<'a> {
2658
2657
}
2659
2658
2660
2659
/// Parse an associative expression with operators of at least `min_prec` precedence
2661
- pub fn parse_assoc_expr_with ( & mut self , min_prec : usize , lhs : Option < P < Expr > > ) -> PResult < P < Expr > > {
2660
+ pub fn parse_assoc_expr_with ( & mut self ,
2661
+ min_prec : usize ,
2662
+ lhs : Option < P < Expr > > )
2663
+ -> PResult < P < Expr > > {
2662
2664
let mut lhs = if lhs. is_some ( ) {
2663
2665
lhs. unwrap ( )
2664
2666
} else if self . token == token:: DotDot {
0 commit comments