mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			380 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			380 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| error: expected `mut` or `const` keyword in raw pointer type
 | |
|   --> $DIR/double-pointer.rs:4:15
 | |
|    |
 | |
| LL |     let dptr: **const i32 = &ptr;
 | |
|    |               ^
 | |
|    |
 | |
| help: add `mut` or `const` here
 | |
|    |
 | |
| LL |     let dptr: *const *const i32 = &ptr;
 | |
|    |                +++++
 | |
| LL |     let dptr: *mut *const i32 = &ptr;
 | |
|    |                +++
 | |
| 
 | |
| error: aborting due to previous error
 | |
| 
 | 
