summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/associated-types-issue-17359.rs
blob: 88a8a6490e683d9e1197644191cd11edea4da170 (plain)
1
2
3
4
5
6
7
8
9
10
// Test that we do not ICE when an impl is missing an associated type (and that we report
// a useful error, of course).

trait Trait {
    type Type;
}

impl Trait for isize {}  //~ ERROR missing: `Type`

fn main() {}