You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0308]: match arms have incompatible types
--> src/bin/example.rs:107:29
|
107 | scope.spawn(move || for val in single_recv.iter_with(|item_ref| 10 * *item_ref) {
| _____________________________^
108 | | println!("{}", val);
109 | | });
| |_________^ expected (), found i32
|
= note: expected type `()`
found type `i32`
note: match arm with an incompatible type
--> src/bin/example.rs:107:29
|
107 | scope.spawn(move || for val in single_recv.iter_with(|item_ref| 10 * *item_ref) {
| _____________________________^
108 | | println!("{}", val);
109 | | });
| |_________^
error[E0308]: match arms have incompatible types
--> src/bin/example.rs:114:29
|
114 | scope.spawn(move || for val in
| _____________________________^
115 | | single_recv_2.try_iter_with(|item_ref| 10 * *item_ref) {
116 | | println!("{}", val);
117 | | });
| |_________^ expected (), found i32
|
= note: expected type `()`
found type `i32`
note: match arm with an incompatible type
--> src/bin/example.rs:114:29
|
114 | scope.spawn(move || for val in
| _____________________________^
115 | | single_recv_2.try_iter_with(|item_ref| 10 * *item_ref) {
116 | | println!("{}", val);
117 | | });
| |_________^
error: aborting due to previous error(s)
error: Could not compile `multiqueue`.
https://github.com/schets/multiqueue
cc @schets
The text was updated successfully, but these errors were encountered: