]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/bad-pointer-type.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / bad-pointer-type.stderr
CommitLineData
2b03887a 1error: expected `mut` or `const` keyword in raw pointer type
0731742a 2 --> $DIR/bad-pointer-type.rs:1:11
0bf4aa26
XL
3 |
4LL | fn foo(_: *()) {
2b03887a 5 | ^
0731742a 6 |
2b03887a
FG
7help: add `mut` or `const` here
8 |
9LL | fn foo(_: *const ()) {
10 | +++++
11LL | fn foo(_: *mut ()) {
12 | +++
0bf4aa26
XL
13
14error: aborting due to previous error
15