Skip to content

Commit b4e65d4

Browse files
committed
test: add a test cast for issue 6869
1 parent 2a5c969 commit b4e65d4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/target/issue_6869.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
fn main() {
2+
let x = 0.5;
3+
4+
match x {
5+
1. .. => println!("{x} >= 1"),
6+
_ => println!("{x} < 1"),
7+
}
8+
}

0 commit comments

Comments
 (0)