blob: 149f505dc6f576d7f6451200128820a1a29fbafd [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/closure-mismatch.rs:8:5
|
LL | baz(|_| ());
| ^^^ one type is more general than the other
|
= note: expected type `for<'r> Fn<(&'r (),)>`
found type `Fn<(&(),)>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.