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

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

trait A {}

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