> Thought about this some more -- what's the analysis like when trying to
> return an alias from a first class function or obj? Seems like it'd get bad.

If we disallow functions to return anything that's not rooted in an
aliased argument, we'd have to disallow binding alias arguments to
functions that return an alias.

This is getting obscure. But the current alias system is already
plenty obscure, and the increate in power seems worth it.
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to