James Boyden wrote:
For the above reasons, is there any way that the lifetime syntax
could be moved*after*  the type?  The current proposal of `&'lt Foo`
does address the ambiguity described in point 2b, but not 2a or 2c.
(The `/` sigil itself actually doesn't faze me that much.)

We considered this, but it's very hard to mix prefix and postfix notation like this without ambiguity. Consider:

&&T/b

Is this:

&'b &T

or

&&'b T

I suppose we could just resolve it arbitrarily, like if-else-if chains.


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

Reply via email to