Created
January 3, 2015 10:37
-
-
Save jroesch/672f6bd2893301e12a18 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
trait Foo<T> { | |
fn meth(&self) where T: Copy {} | |
} | |
impl<T> Foo<T> for int { | |
fn meth(&self) where T: Eq {} | |
} | |
fn main() { | |
Foo::<int>::meth(&1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error message: