Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit da2ed09

Browse files
rchaser53topecongiro
authored andcommitted
add test for handling double semicolon (rust-lang#3706)
1 parent 983a92c commit da2ed09

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/source/issue-3672.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fn main() {
2+
let x = 5;;
3+
4+
}

tests/target/issue-3672.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
let x = 5;
3+
}

0 commit comments

Comments
 (0)