File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1- //FIXME~ ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture 
1+ //~ ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture 
2+ 
23// Make sure the compiler does not ICE when trying to generate the debuginfo name of a type that 
34// causes a layout error. 
45// This version of the test already ICE'd before the commit that introduce the ICE described in 
56// https://github.com/rust-lang/rust/issues/94961. 
67
7- //@ compile-flags:-C debuginfo=2 --error-format=human  
8+ //@ compile-flags:-C debuginfo=2 
89//@ build-fail 
910//@ error-pattern: values of the type `[u8; usize::MAX]` are too big for the target architecture 
1011
@@ -17,6 +18,3 @@ pub enum Foo<T> {
1718pub  fn  foo ( )  -> usize  { 
1819    std:: mem:: size_of :: < Foo < u8 > > ( ) 
1920} 
20- 
21- // FIXME: the error is reported on different lines on different targets 
22- //FIXME~? ERROR values of the type `[u8; usize::MAX]` are too big for the target architecture 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments