]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-issue-17359.rs
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / associated-types-issue-17359.rs
1 // Test that we do not ICE when an impl is missing an associated type (and that we report
2 // a useful error, of course).
3
4 trait Trait {
5     type Type;
6 }
7
8 impl Trait for isize {}  //~ ERROR missing: `Type`
9
10 fn main() {}