error: expected mut or const in raw pointer type
 --> $DIR/ptr_no_const_mut.rs:6:43
  |
6 |         fn get_neither_const_nor_mut() -> *C;
  |                                           ^ expected mut or const in raw pointer type
  |
  = help: use `*mut T` or `*const T` as appropriate

error: expected `const` or `mut`
 --> $DIR/ptr_no_const_mut.rs:6:44
  |
6 |         fn get_neither_const_nor_mut() -> *C;
  |                                            ^
