Created
June 4, 2013 15:32
-
-
Save rkbodenner/5706847 to your computer and use it in GitHub Desktop.
Rust type mismatch compile error
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
[rust] whsky:ralph-libuv-tasks rust run server.rs | |
server.rs:19:16: 19:21 error: mismatched types: expected `&mut ~[<V37>]` but found `~[u8]` (expected &-ptr but found vector) | |
server.rs:19 vec::push(bytes, byte as u8); | |
^~~~~ | |
error: aborting due to previous error | |
rust: task failed at 'explicit failure', /Users/ralph/_code/rust-0.6/src/libsyntax/diagnostic.rs:99 | |
rust: task failed at 'explicit failure', /Users/ralph/_code/rust-0.6/src/librustc/rustc.rc:357 | |
rust: domain main @0x7fb88200c210 root task failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment