Created
May 25, 2015 18:44
-
-
Save bltavares/30d3960b131fbf8415eb 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
struct Authentication<'a> { | |
email: &'a str, | |
token: &'a str, | |
domain: Option<&'a str> | |
} | |
impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> { | |
fn into(self) -> I { | |
} | |
} |
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
src/lib.rs:18:1: 21:2 error: conflicting implementations for trait `core::convert::Into` [E0119] | |
src/lib.rs:18 impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> { | |
src/lib.rs:19 fn into(self) -> I { | |
src/lib.rs:20 } | |
src/lib.rs:21 } | |
src/lib.rs:18:1: 21:2 note: conflicting implementation in crate `core` | |
src/lib.rs:18 impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> { | |
src/lib.rs:19 fn into(self) -> I { | |
src/lib.rs:20 } | |
src/lib.rs:21 } | |
src/lib.rs:18:1: 21:2 error: conflicting implementations for trait `core::convert::Into` [E0119] | |
src/lib.rs:18 impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> { | |
src/lib.rs:19 fn into(self) -> I { | |
src/lib.rs:20 } | |
src/lib.rs:21 } | |
src/lib.rs:18:1: 21:2 note: conflicting implementation in crate `core` | |
src/lib.rs:18 impl<'a, I> Into<I> for Authentication<'a> where I: Iterator<Item=(&'a str, &'a str)> { | |
src/lib.rs:19 fn into(self) -> I { | |
src/lib.rs:20 } | |
src/lib.rs:21 } | |
error: aborting due to previous error | |
error: aborting due to previous error | |
Build failed, waiting for other jobs to finish... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment