fwd/vendor/cxx/tests/ui/ptr_no_const_mut.stderr
John Doty 9c435dc440 Vendor dependencies
Let's see how I like this workflow.
2022-12-19 08:38:22 -08:00

18 lines
632 B
Text

error: expected `mut` or `const` keyword in raw pointer type
--> tests/ui/ptr_no_const_mut.rs:6:43
|
6 | fn get_neither_const_nor_mut() -> *C;
| ^
|
help: add `mut` or `const` here
|
6 | fn get_neither_const_nor_mut() -> *const C;
| +++++
6 | fn get_neither_const_nor_mut() -> *mut C;
| +++
error: expected `const` or `mut`
--> tests/ui/ptr_no_const_mut.rs:6:44
|
6 | fn get_neither_const_nor_mut() -> *C;
| ^