File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -911,6 +911,7 @@ module.exports = grammar({
911911        $ . scoped_type_identifier , 
912912        $ . generic_type , 
913913        $ . function_type , 
914+         $ . tuple_type , 
914915      ) ) , 
915916    ) , 
916917
Original file line number Diff line number Diff line change @@ -1623,6 +1623,35 @@ impl !Send for Foo {}
16231623    (type_identifier)
16241624    (declaration_list)))
16251625
1626+ ================================================================================
1627+ Impl dyn with parentheses
1628+ ================================================================================
1629+ 
1630+ pub unsafe trait Trait {}
1631+ 
1632+ unsafe impl Trait for dyn (::std::any::Any) + Send { }
1633+ 
1634+ --------------------------------------------------------------------------------
1635+ 
1636+ (source_file
1637+   (trait_item
1638+     (visibility_modifier)
1639+     (type_identifier)
1640+     (declaration_list))
1641+   (impl_item
1642+     (type_identifier)
1643+     (bounded_type
1644+       (dynamic_type
1645+         (tuple_type
1646+           (scoped_type_identifier
1647+             (scoped_identifier
1648+               (scoped_identifier
1649+                 (identifier))
1650+               (identifier))
1651+           (type_identifier))))
1652+       (type_identifier))
1653+     (declaration_list)))
1654+ 
16261655================================================================================
16271656Trait impl signature
16281657================================================================================
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments