Created
July 19, 2015 13:44
-
-
Save sebglazebrook/0ff157645d26a69453a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::sync::{Arc, Mutex}; | |
use std::sync::mpsc::*; | |
fn main() { | |
let (tx, rx):(Sender<_>, Receiver<_>) = channel(); | |
} | |
src/main.rs:21:18: 21:42 error: unable to infer enough type information about `_`; type annotations or generic parameter binding required [E0282] | |
src/main.rs:21 let (tx, rx):(Sender<_>, Receiver<_>) = channel(); //??????? | |
^~~~~~~~~~~~~~~~~~~~~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment