summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-17033.stderr
blob: f26bee5ff45d0154a37873367afe0c8d3ed46a1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error[E0308]: mismatched types
  --> $DIR/issue-17033.rs:2:10
   |
LL |     (*p)(())
   |     ---- ^^
   |     |    |
   |     |    expected `&mut ()`, found `()`
   |     |    help: consider mutably borrowing here: `&mut ()`
   |     arguments to this function are incorrect

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.