blob: e18c220affe6ebd2947cdef1d5cf5189aef3e153 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: expected mut or const in raw pointer type
--> $DIR/bad-pointer-type.rs:1:11
|
LL | fn foo(_: *()) {
| ^ expected mut or const in raw pointer type
|
= help: use `*mut T` or `*const T` as appropriate
error: aborting due to previous error
|