fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: reached the recursion limit while instantiating `test::<Cons<Cons<Cons<Cons<Cons<...>>>>>>` 2 --> $DIR/recursion.rs:18:11 3 | 4LL | _ => {test (n-1, i+1, Cons {head:2*i+1, tail:first}, Cons{head:i*i, tail:second})} 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7note: `test` defined here 8 --> $DIR/recursion.rs:16:1 9 | 10LL | fn test<T:Dot> (n:isize, i:isize, first:T, second:T) ->isize { 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 = note: the full type name has been written to '$TEST_BUILD_DIR/recursion/recursion/recursion.long-type.txt' 13 14error: aborting due to previous error 15