summaryrefslogtreecommitdiffstats
path: root/tests/ui/coherence/conflicting-impl-with-err.rs
blob: 3e0234b874d7b6d8aebcc9a855bcac85ff321736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct ErrorKind;
struct Error(ErrorKind);

impl From<nope::Thing> for Error { //~ ERROR failed to resolve
    fn from(_: nope::Thing) -> Self { //~ ERROR failed to resolve
        unimplemented!()
    }
}

impl From<ErrorKind> for Error {
    fn from(_: ErrorKind) -> Self {
        unimplemented!()
    }
}

fn main() {}