However, there are real lifetime and thread-safety side effects of passing a reference to the outer structure when you only need a reference to the inner structure.<p>In a GC&#x27;d language without an effects system, passing in a reference to the outer structure would still prevent the GC from freeing the outer structure (depending on the ABI, even if you null out the reference passed outer reference inside the function, the value passed on the stack might be immutable) and would also mean that you need to be careful about later changes causing non-thread-safe mutations to the outer structure.  If your language isn&#x27;t GC&#x27;d and doesn&#x27;t have an effects system, then you need to manually keep track of the  borrowing.<p>These aren&#x27;t artifacts of Rust&#x27;s type system; they&#x27;re genuine side effects that are present but more subtle in other languages.