mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			576 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			576 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: function cannot return without recursing
 | |
|   --> $DIR/lint-unconditional-drop-recursion.rs:11:5
 | |
|    |
 | |
| LL |     fn drop(&mut self) {
 | |
|    |     ^^^^^^^^^^^^^^^^^^ cannot return without recursing
 | |
| LL |         let _ = RecursiveDrop;
 | |
|    |                              - recursive call site
 | |
|    |
 | |
|    = help: a `loop` may express intention better if this is on purpose
 | |
| note: the lint level is defined here
 | |
|   --> $DIR/lint-unconditional-drop-recursion.rs:5:9
 | |
|    |
 | |
| LL | #![deny(unconditional_recursion)]
 | |
|    |         ^^^^^^^^^^^^^^^^^^^^^^^
 | |
| 
 | |
| error: aborting due to 1 previous error
 | |
| 
 | 
