]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17033.stderr
Remove E0308 note when primary label has all info
[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 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.