Skip to content

Instantly share code, notes, and snippets.

@killerswan
Created September 12, 2012 22:56
Show Gist options
  • Save killerswan/3710609 to your computer and use it in GitHub Desktop.
Save killerswan/3710609 to your computer and use it in GitHub Desktop.
Auto-ref for ~[] ok, but not for ~str ??
compile_and_link: x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so
/code/rust/src/libcore/path.rs:70:12: 70:47 error: failed to find an implementation of trait @cmp::Eq for ~str
/code/rust/src/libcore/path.rs:70 self.components == other.components;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment