> I guess the alias analysis is being defensive against the block here?

Yes. It has to be. The block might, for all it knows, overwrite the
vector argument.

Safe references have their cost.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to