mirror of
				https://git.proxmox.com/git/rustc
				synced 2025-11-04 12:36:22 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			200 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			200 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
const SOME_CONST : i32 = 12;
 | 
						|
 | 
						|
fn some_other_func() {}
 | 
						|
 | 
						|
fn some_function() {
 | 
						|
    SOME_CONST = 14; //~ ERROR E0070
 | 
						|
    1 = 3; //~ ERROR E0070
 | 
						|
    some_other_func() = 4; //~ ERROR E0070
 | 
						|
}
 | 
						|
 | 
						|
fn main() {
 | 
						|
}
 |