]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bad-pointer-type.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / bad-pointer-type.stderr
1 error: expected mut or const in raw pointer type
2   --> $DIR/bad-pointer-type.rs:1:11
3    |
4 LL | fn foo(_: *()) {
5    |           ^ expected mut or const in raw pointer type
6    |
7    = help: use `*mut T` or `*const T` as appropriate
8
9 error: aborting due to previous error
10