mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00
18 lines
585 B
Plaintext
18 lines
585 B
Plaintext
error: reached the recursion limit while instantiating `rec::<&mut &mut &mut &mut &mut ...>`
|
|
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:28:9
|
|
|
|
|
LL | rec(identity(&mut it))
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: `rec` defined here
|
|
--> $DIR/recursive-impl-trait-iterator-by-ref-67552.rs:21:1
|
|
|
|
|
LL | / fn rec<T>(mut it: T)
|
|
LL | | where
|
|
LL | | T: Iterator,
|
|
| |________________^
|
|
= note: the full type name has been written to '$TEST_BUILD_DIR/recursive-impl-trait-iterator-by-ref-67552.long-type.txt'
|
|
|
|
error: aborting due to 1 previous error
|
|
|