Skip to content

Instantly share code, notes, and snippets.

@jaredonline
Created November 6, 2014 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredonline/a7aefd932bddae3b8500 to your computer and use it in GitHub Desktop.
Save jaredonline/a7aefd932bddae3b8500 to your computer and use it in GitHub Desktop.
Compiling http v0.1.0-pre (https://github.com/chris-morgan/rust-http.git#3f442dee)
src/http/client/sslclients/openssl.rs:22:27: 22:51 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/client/sslclients/openssl.rs:22 let stream = try!(TcpStream::connect(addr));
^~~~~~~~~~~~~~~~~~~~~~~~
<std macros>:1:1: 8:2 note: in expansion of try!
src/http/client/sslclients/openssl.rs:22:22: 22:53 note: expansion site
src/http/server/mod.rs:29:34: 29:72 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/server/mod.rs:29 let mut acceptor = match TcpListener::bind(config.bind_address).listen() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/http/server/mod.rs:136:33: 136:71 error: this function takes 2 parameters but 1 parameter was supplied [E0061]
src/http/server/mod.rs:136 let mut acceptor = try!(TcpListener::bind(config.bind_address).listen());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<std macros>:1:1: 8:2 note: in expansion of try!
src/http/server/mod.rs:136:28: 136:82 note: expansion site
error: aborting due to 3 previous errors
Could not compile `http`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment