On 13-04-25 08:40 AM, John Clements wrote:

> Well, that's the question. Currently the grammar (and compiler) allow
> this. I'd like to define a grammar here that nails down what's allowed a
> little more tightly, rather than deferring entirely to (currently
> broken) constant evaluation.

Yes. Formalizing and completing the definition of the constant
expression subgrammar would be extremely valuable. It's one of the major
high-risk areas remaining the the design space.

-Graydon
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to