]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #105701 - RedDocMD:bug-105634, r=cjgillot
authorbors <bors@rust-lang.org>
Sun, 25 Dec 2022 14:42:49 +0000 (14:42 +0000)
committerbors <bors@rust-lang.org>
Sun, 25 Dec 2022 14:42:49 +0000 (14:42 +0000)
Allow .. to be parsed as let initializer

.. and ..= are valid expressions, however when used in a let statement
it is not parsed.
Fixes #105634

1  2 
compiler/rustc_parse/src/parser/expr.rs