]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-23122-2.rs
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / ui / issues / issue-23122-2.rs
1 // normalize-stderr-test: "long-type-\d+" -> "long-type-hash"
2 trait Next {
3     type Next: Next;
4 }
5
6 struct GetNext<T: Next> {
7     t: T,
8 }
9
10 impl<T: Next> Next for GetNext<T> {
11     type Next = <GetNext<T::Next> as Next>::Next;
12     //~^ ERROR overflow evaluating the requirement
13 }
14
15 fn main() {}