Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created January 20, 2015 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save alexcrichton/44bc841863c612b80246 to your computer and use it in GitHub Desktop.
Save alexcrichton/44bc841863c612b80246 to your computer and use it in GitHub Desktop.
rustc: x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz
/home/alex/code/rust4/src/libgraphviz/lib.rs:373:16: 373:36 error: mismatched types:
expected `core::option::Option<Id<'a>>`,
found `core::result::Result<Id<'_>, _>`
(expected enum `core::option::Option`,
found enum `core::result::Result`)
/home/alex/code/rust4/src/libgraphviz/lib.rs:373 return Ok(Id{ name: name });
^~~~~~~~~~~~~~~~~~~~
error: aborting due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment