2017-10-22 10:14:53 -05:00
|
|
|
pub struct GenX<S> {
|
|
|
|
inner: S,
|
|
|
|
}
|
|
|
|
|
2017-11-20 06:13:27 -06:00
|
|
|
impl<S> Into<S> for GenX<S> { //~ ERROR conflicting implementations
|
2017-10-22 10:14:53 -05:00
|
|
|
fn into(self) -> S {
|
|
|
|
self.inner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-11-20 06:13:27 -06:00
|
|
|
fn main() {}
|