File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ TypeBoundList =
614614
615615TypeBound =
616616  Lifetime
617- | ('?' | '~'  'const')? Type
617+ | ('~' 'const' |  'const')? 'async'? '?' ? Type
618618
619619//************************//
620620//        Patterns        //
Original file line number Diff line number Diff line change @@ -1410,9 +1410,10 @@ pub struct TypeBound {
14101410} 
14111411impl  TypeBound  { 
14121412    pub  fn  lifetime ( & self )  -> Option < Lifetime >  {  support:: child ( & self . syntax )  } 
1413-     pub  fn  question_mark_token ( & self )  -> Option < SyntaxToken >  {  support:: token ( & self . syntax ,  T ! [ ?] )  } 
14141413    pub  fn  tilde_token ( & self )  -> Option < SyntaxToken >  {  support:: token ( & self . syntax ,  T ! [ ~] )  } 
14151414    pub  fn  const_token ( & self )  -> Option < SyntaxToken >  {  support:: token ( & self . syntax ,  T ! [ const ] )  } 
1415+     pub  fn  async_token ( & self )  -> Option < SyntaxToken >  {  support:: token ( & self . syntax ,  T ! [ async ] )  } 
1416+     pub  fn  question_mark_token ( & self )  -> Option < SyntaxToken >  {  support:: token ( & self . syntax ,  T ! [ ?] )  } 
14161417    pub  fn  ty ( & self )  -> Option < Type >  {  support:: child ( & self . syntax )  } 
14171418} 
14181419
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments