Last active
August 29, 2015 14:01
-
-
Save passcod/c3dee4d5c30bcfa6a966 to your computer and use it in GitHub Desktop.
rustc -L . --test tests.rs
This file contains 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
tests.rs:23:5: 23:40 error: mismatched types: expected `(rast::http::StatusCode,collections::hashmap::HashMap<&str,&str>,B)` but found `(rast::http::StatusCode,collections::hashmap::HashMap<&'static str,&'static str>,std::io::mem::MemReader)` (expected type parameter but found struct std::io::mem::MemReader) | |
tests.rs:23 (rast::http::StatusCode(200), h, r) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tests.rs:47:22: 47:54 error: cannot determine a type for this bounded type parameter: unconstrained type | |
tests.rs:47 println!("{:?}", app.call(env, heads, inpt, errr)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
note: in expansion of format_args! | |
<std macros>:2:23: 2:77 note: expansion site | |
<std macros>:1:1: 3:2 note: in expansion of println! | |
tests.rs:47:5: 47:56 note: expansion site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment