Comment on From Stacks to Trees: A new aliasing model for RustparentComments−k1t3yThat's not really true. If it were, this would compile since there are no writes. fn main() { let mut x = [1,2,3,4,5]; let y = &mut x[0]; let z = &x[1]; println!("y {}... z {} ", y, z); } But it doesn't.
Comments
That's not really true. If it were, this would compile since there are no writes.
But it doesn't.