aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-2423.rs
blob: ae7897c11709ded84d9f7e062241ceae15bf1ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
impl NonExistant {
    // { dg-error "failed to resolve" "" { target *-*-* } .-1 }
    fn test() {}
}

impl NotFound for NonExistant {
    // { dg-error "failed to resolve" "" { target *-*-* } .-1 }
    fn test() {}
}

trait A {}

impl A for NotFound {}
// { dg-error "failed to resolve" "" { target *-*-* } .-1 }