rust/tests/ui/issues/issue-23122-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
962 B
Plaintext
Raw Normal View History

2022-11-19 13:43:12 -06:00
error[E0275]: overflow evaluating the requirement `<<<<<<<... as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next: Sized`
2022-11-19 14:26:42 -06:00
--> $DIR/issue-23122-2.rs:11:17
2019-02-23 16:25:30 -06:00
|
LL | type Next = <GetNext<T::Next> as Next>::Next;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2019-02-23 16:25:30 -06:00
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_23122_2`)
2022-11-26 14:24:58 -06:00
note: required for `GetNext<<<<<<<... as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next>` to implement `Next`
2022-11-19 14:26:42 -06:00
--> $DIR/issue-23122-2.rs:10:15
2022-11-19 13:43:12 -06:00
|
LL | impl<T: Next> Next for GetNext<T> {
| ^^^^ ^^^^^^^^^^
2022-11-19 14:26:42 -06:00
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-23122-2/issue-23122-2.long-type-hash.txt'
2019-02-23 16:25:30 -06:00
error: aborting due to previous error
2018-07-15 16:11:54 -05:00
For more information about this error, try `rustc --explain E0275`.