]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17033.stderr
37f817c2e9b143be6510b192a1e18c8a237322a1
[rust.git] / src / test / ui / issues / issue-17033.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-17033.rs:2:10
3    |
4 LL |     (*p)(())
5    |          ^^
6    |          |
7    |          expected &mut (), found ()
8    |          help: consider mutably borrowing here: `&mut ()`
9    |
10    = note: expected mutable reference `&mut ()`
11                       found unit type `()`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0308`.