Skip to content

Commit 4c78c73

Browse files
ytmimicalebcartwright
authored andcommitted
Add tests for 3245 and 3561
Closes 3245 Closes 3561 These issues were originally linked in issue 3672 and as was mentioned in PR 3706, it's unclear which commit resolved the issue but the issue can no longer be reproduced.
1 parent f2c31ba commit 4c78c73

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

Diff for: tests/source/issue_3245.rs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fn main() {
2+
let x = 1;
3+
;let y = 3;
4+
}

Diff for: tests/source/issue_3561.rs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
fn main() {;7
2+
}
3+
4+
fn main() {
5+
;7
6+
}

Diff for: tests/target/issue_3245.rs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
fn main() {
2+
let x = 1;
3+
let y = 3;
4+
}

Diff for: tests/target/issue_3561.rs

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
fn main() {
2+
7
3+
}
4+
5+
fn main() {
6+
7
7+
}

0 commit comments

Comments
 (0)