mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			199 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			199 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ check-pass
 | |
| 
 | |
| fn main() {}
 | |
| 
 | |
| #[cfg(FALSE)]
 | |
| trait X {
 | |
|     default const A: u8;
 | |
|     default const B: u8 = 0;
 | |
|     default type D;
 | |
|     default type C: Ord;
 | |
|     default fn f1();
 | |
|     default fn f2() {}
 | |
| }
 | 
