mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			207 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			207 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| fn main() {
 | |
|     let x: i32 = 5;
 | |
|     let ptr: *const i32 = &x;
 | |
|     let dptr: **const i32 = &ptr;
 | |
|     //~^ ERROR expected `mut` or `const` keyword in raw pointer type
 | |
|     //~| HELP add `mut` or `const` here
 | |
| }
 | 
