2022-09-25 17:03:39 -05:00
|
|
|
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: *mut *const i32 = &ptr;
|
|
|
|
| +++
|
2023-11-08 12:24:49 -06:00
|
|
|
LL | let dptr: *const *const i32 = &ptr;
|
|
|
|
| +++++
|
2022-09-25 17:03:39 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-09-25 17:03:39 -05:00
|
|
|
|