File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed 
rfc1598-generic-associated-types Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 11type  X  = u32 <' static >;  //~ ERROR E0110 
22
3- fn  main ( )  { 
4- } 
3+ fn  main ( )  { } 
Original file line number Diff line number Diff line change 1- <<<<<<< HEAD
21error[E0110]: lifetime arguments are not allowed on this entity
32  --> $DIR/E0110.rs:1:14
4- ||||||| merged common ancestors
5- error[E0110]: lifetime parameters are not allowed on this type
6-   --> $DIR/E0110.rs:11:14
7- =======
8- error[E0110]: lifetime arguments are not allowed on this entity
9-   --> $DIR/E0110.rs:11:14
10- >>>>>>> Added regression test for using generic parameters on modules.
113   |
124LL | type X = u32<'static>; //~ ERROR E0110
135   |              ^^^^^^^ lifetime argument not allowed
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ error[E0109]: type arguments are not allowed on this entity
2222LL |         <<Self as Collection<T>>::Family as CollectionFamily>::Member<U>;
2323   |                                                                       ^ type argument not allowed
2424
25- error[E0109 ]: type  arguments are not allowed on this entity
25+ error[E0110 ]: lifetime  arguments are not allowed on this entity
2626  --> $DIR/collections.rs:24:50
2727   |
2828LL |     fn iterate<'iter>(&'iter self) -> Self::Iter<'iter>;
2929   |                                                  ^^^^^ lifetime argument not allowed
3030
31- error[E0109 ]: type  arguments are not allowed on this entity
31+ error[E0110 ]: lifetime  arguments are not allowed on this entity
3232  --> $DIR/collections.rs:50:50
3333   |
3434LL |     fn iterate<'iter>(&'iter self) -> Self::Iter<'iter> {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments