mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	 95ff642797
			
		
	
	
		95ff642797
		
	
	
	
	
		
			
			Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
		
			
				
	
	
		
			20 lines
		
	
	
		
			231 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			231 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| //@ run-pass
 | |
| #![allow(dead_code)]
 | |
| #![allow(non_camel_case_types)]
 | |
| 
 | |
| 
 | |
| 
 | |
| struct kitten {
 | |
|     cat: Option<cat>,
 | |
| }
 | |
| 
 | |
| fn kitten(cat: Option<cat>) -> kitten {
 | |
|     kitten {
 | |
|         cat: cat
 | |
|     }
 | |
| }
 | |
| 
 | |
| type cat = Box<kitten>;
 | |
| 
 | |
| pub fn main() {}
 |