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:
commit
300aa907a6
3 changed files with 19 additions and 3 deletions
8
src/test/ui/parser/issue-105634.rs
Normal file
8
src/test/ui/parser/issue-105634.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// check-pass
|
||||
|
||||
fn main() {
|
||||
let _a = ..;
|
||||
let _b = ..=10;
|
||||
let _c = &..;
|
||||
let _d = &..=10;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue