dreck 0.1.1

A safe tracing garbage collection library with minimal safety bookkeeping
Documentation
1
2
3
4
5
6
7
8
9
10
error[E0502]: cannot borrow `*root` as mutable because it is also borrowed as immutable
  --> tests/compile_fail/use_root_mutably_while_bound.rs:11:5
   |
10 |     let v = root.add(0);
   |             ----------- immutable borrow occurs here
11 |     use_root(&owner, root, v);
   |     --------^^^^^^^^^^^^^^^^^
   |     |
   |     mutable borrow occurs here
   |     immutable borrow later used by call