blob: f409d4d9901a8d913ae5fe9b19c2e8fc2bf7d7d7 [file] [log] [blame]
error: expected `mut` or `const` keyword in raw pointer type
--> $DIR/bad-pointer-type.rs:1:11
|
LL | fn foo(_: *()) {
| ^
|
help: add `mut` or `const` here
|
LL | fn foo(_: *mut ()) {
| +++
LL | fn foo(_: *const ()) {
| +++++
error: aborting due to 1 previous error