]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-17033.rs
Re-blessed tests.
[rust.git] / src / test / ui / issues / issue-17033.rs
1 fn f<'r>(p: &'r mut fn(p: &mut ())) {
2     (*p)(()) //~  ERROR mismatched types
3              //~| expected type `&mut ()`
4              //~| found type `()`
5              //~| expected &mut (), found ()
6 }
7
8 fn main() {}