rust/src/test/ui/issues/issue-57843.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

13 lines
393 B
Plaintext

error[E0308]: mismatched types
--> $DIR/issue-57843.rs:23:9
|
LL | Foo(Box::new(|_| ()));
| ^^^^^^^^^^^^^^^^ one type is more general than the other
|
= note: expected type `std::ops::FnOnce<(&'a bool,)>`
found type `std::ops::FnOnce<(&bool,)>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.