mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			131 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			131 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // compile-flags: -Z parse-only
 | |
| 
 | |
| #![feature(const_trait_impl)]
 | |
| 
 | |
| struct S<T: const Tr>;
 | |
| //~^ ERROR const bounds must start with `~`
 | 
