Auto merge of #105701 - RedDocMD:bug-105634, r=cjgillot

Allow .. to be parsed as let initializer

.. and ..= are valid expressions, however when used in a let statement
it is not parsed.
Fixes #105634
This commit is contained in:
bors 2022-12-25 14:42:49 +00:00
commit 300aa907a6
3 changed files with 19 additions and 3 deletions

View file

@ -0,0 +1,8 @@
// check-pass
fn main() {
let _a = ..;
let _b = ..=10;
let _c = &..;
let _d = &..=10;
}