rust/tests/ui/error-codes/e0119/issue-27403.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
172 B
Rust
Raw Normal View History

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