Unable to build 2.44.2: nalgebra fails with `cannot borrow `*self` as immutable because it is also borrowed as mutable`
I am trying to rebuild librsvg 2.44.2 from August 2018, and it fails with the errors below.
error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable
--> /dev/shm/bee-root/librsvg/librsvg-2.44.2-0/source/vendor/nalgebra/src/base/cg.rs:292:44
|
292 | self[(j, i)] += shift[j] * self[(D::dim() - 1, i)];
| ---------------------------^^^^-------------------
| | |
| | immutable borrow occurs here
| mutable borrow occurs here
| mutable borrow later used here
I am using rustc 1.41.0.