]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/associated-types-issue-17359.rs
feat(rustdoc): open sidebar menu when links inside it are focused
[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() {}