mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
17 lines
511 B
Text
17 lines
511 B
Text
error: reached the recursion limit while instantiating `rec::<&mut &mut &mut &mut &mut ...>`
|
|
--> $DIR/issue-67552.rs:29:9
|
|
|
|
|
LL | rec(identity(&mut it))
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: `rec` defined here
|
|
--> $DIR/issue-67552.rs:22: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/issues/issue-67552/issue-67552.long-type.txt'
|
|
|
|
error: aborting due to 1 previous error
|
|
|