fn parse_colon_then_ty_param_bounds(&mut self,
                                        mode: BoundParsingMode)
                                        -> PResult<'a, TyParamBounds>
    {
        if !self.eat(&token::Colon) {
            Ok(P::empty())
        } else {
            self.parse_ty_param_bounds(mode)
        }
    }
// Parses a sequence of bounds if a `:` is found,
// otherwise returns empty list.
Parses a sequence of bounds if a `:` is found,
otherwise returns empty list.
Parses a sequence of bounds if a ` : ` is found otherwise returns empty list .
fn parse_colon_then_ty_param_bounds(&mut self,
                                        mode: BoundParsingMode)
                                        -> PResult<'a, TyParamBounds>
    {
        if !self.eat(&token::Colon) {
            Ok(P::empty())
        } else {
            self.parse_ty_param_bounds(mode)
        }
    }
fn parse_colon_then_ty_param_bounds ( & mut self , mode : BoundParsingMode ) -> PResult < ' a , TyParamBounds > { if ! self . eat ( & token :: Colon ) { Ok ( P :: empty ( ) ) } else { self . parse_ty_param_bounds ( mode ) } }
Parses a sequence of bounds if a `:` is found,
otherwise returns empty list.
Parses a sequence of bounds if a ` : ` is found otherwise returns empty list .
&mut self
mode
BoundParsingMode
&mut self
mode
BoundParsingMode