2025-07-29 01:13:50 +00:00
|
|
|
error: reached the recursion limit while instantiating `rec::<&mut &mut &mut &mut &mut &mut &mut &mut ...>`
|
2025-07-13 15:56:27 -04:00
|
|
|
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:28:9
|
2022-05-17 16:18:40 +02:00
|
|
|
|
|
|
|
|
|
LL | rec(identity(&mut it))
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
|
|
note: `rec` defined here
|
2025-07-13 15:56:27 -04:00
|
|
|
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:21:1
|
2022-05-17 16:18:40 +02:00
|
|
|
|
|
|
|
|
|
LL | / fn rec<T>(mut it: T)
|
|
|
|
|
LL | | where
|
|
|
|
|
LL | | T: Iterator,
|
|
|
|
|
| |________________^
|
2025-07-29 01:13:50 +00:00
|
|
|
= note: the full name for the type has been written to '$TEST_BUILD_DIR/recursive-impl-trait-iterator-by-ref-67552.long-type-$LONG_TYPE_HASH.txt'
|
|
|
|
|
= note: consider using `--verbose` to print the full type name to the console
|
2022-05-17 16:18:40 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-05-17 16:18:40 +02:00
|
|
|
|