Skip to content

Instantly share code, notes, and snippets.

@megakorre
Created August 4, 2012 22:18
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 megakorre/3260324 to your computer and use it in GitHub Desktop.
Save megakorre/3260324 to your computer and use it in GitHub Desktop.
test.rs:16:19: 16:22 error: mismatched types: expected `fn@(&&<V6>) -> <V8>` but found `extern fn(&int) -> &int` (expected argument mode ++ but found &&)
test.rs:16 let v = mapper(inc, add);
^~~
test.rs:16:24: 16:27 error: mismatched types: expected `fn@(&&<V7>, &&<V8>) -> <V7>` but found `extern fn(&int, &int) -> &int` (expected argument mode ++ but found &&)
test.rs:16 let v = mapper(inc, add);
^~~
error: aborting due to 2 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment