Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Rust type mismatch compile error
[rust] whsky:ralph-libuv-tasks  rust run 19:21 error: mismatched types: expected `&mut ~[<V37>]` but found `~[u8]` (expected &-ptr but found vector) 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/
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
You can’t perform that action at this time.