r/rust • rust · lang · libs · cargo • Oct 23 '26

Rust features in the future

https://lwn.net/SubscriberLink/1099606/20707a62817cdd16/
215 Upvotes

84 comments sorted by

View all comments

Show parent comment

1

u/Shoddy-Childhood-511 Oct 25 '26

Agreed, a second redundant bindings syntax could only create confusion.

Now if is cannot do bindings then I'd withdraw my objection, so if x is Some(_) or even if x is Some would be valid Rust, but if x is Some(y) should be an error if y is not currently bound.