mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			260 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			260 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // FIXME(generic_const_items): This leads to a stack overflow in the compiler!
 | |
| //@ known-bug: unknown
 | |
| //@ ignore-test
 | |
| 
 | |
| #![feature(generic_const_items)]
 | |
| #![allow(incomplete_features)]
 | |
| 
 | |
| const RECUR<T>: () = RECUR::<(T,)>;
 | |
| 
 | |
| fn main() {
 | |
|     let _ = RECUR::<()>;
 | |
| }
 | 
