mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			176 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			176 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: at least one trait must be specified
 | |
|   --> $DIR/no-trait.rs:1:11
 | |
|    |
 | |
| LL | fn f() -> impl 'static {}
 | |
|    |           ^^^^^^^^^^^^
 | |
| 
 | |
| error: aborting due to previous error
 | |
| 
 | 
