mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			208 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			208 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // compile-flags: -Z parse-only
 | |
| // check-pass
 | |
| 
 | |
| #![feature(const_trait_bound_opt_out)]
 | |
| #![feature(const_trait_impl)]
 | |
| 
 | |
| // For now, this parses since an error does not occur until AST lowering.
 | |
| impl ~const T {}
 | 
