> Sorry if I'm misunderstanding, but I thought I covered that in my previous > email--we have to forbid access to the expression in an "alt" statement > inside the case blocks.
Your proposal seems to assume you'd only ever directly alias locals. That is a possible solution, but it seems excessively restrictive and awkward. I think there's at least 500 cases in rustc where we want to create an alias to a field or dereferenced box. _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
