mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 13:04:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			314 B
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			314 B
		
	
	
	
		
			XML
		
	
	
	
	
	
| //@ aux-build: borrowck-error-in-macro.rs
 | |
| //@ error-pattern: a call in this macro requires a mutable binding due to mutable borrow of `d`
 | |
| //FIXME: remove error-pattern (see #141896)
 | |
| 
 | |
| extern crate borrowck_error_in_macro as a;
 | |
| 
 | |
| a::ice! {}
 | |
| //~^ ERROR cannot borrow value as mutable, as it is not declared as mutable
 | 
