2022-11-16 22:07:15 -06:00
|
|
|
error: reached the recursion limit while instantiating `rec::<&mut &mut &mut &mut &mut ...>`
|
2023-07-04 12:54:23 -05:00
|
|
|
--> $DIR/issue-67552.rs:30:9
|
2022-05-17 09:18:40 -05:00
|
|
|
|
|
|
|
|
LL | rec(identity(&mut it))
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: `rec` defined here
|
2023-07-04 12:54:23 -05:00
|
|
|
--> $DIR/issue-67552.rs:23:1
|
2022-05-17 09:18:40 -05:00
|
|
|
|
|
|
|
|
LL | / fn rec<T>(mut it: T)
|
|
|
|
LL | | where
|
|
|
|
LL | | T: Iterator,
|
|
|
|
| |________________^
|
|
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-67552/issue-67552.long-type.txt'
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|