aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests.rs
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2019-08-14 20:58:17 +0100
committerKirill Bulatov <[email protected]>2019-08-26 20:44:50 +0100
commit8b612251fd8c741416d2fb320bd908b76134fde5 (patch)
tree2577629235b23c2ec51d412abf04059ba836f51b /crates/ra_hir/src/ty/tests.rs
parent44cf7b34fe1a486168590f7fead442f12602c419 (diff)
Remove extra inference test
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r--crates/ra_hir/src/ty/tests.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs
index 94b0fe3b3..195514f10 100644
--- a/crates/ra_hir/src/ty/tests.rs
+++ b/crates/ra_hir/src/ty/tests.rs
@@ -3600,30 +3600,6 @@ mod branching_with_never_tests {
3600 use test_utils::covers; 3600 use test_utils::covers;
3601 3601
3602 #[test] 3602 #[test]
3603 fn match_complex_arm_ty() {
3604 covers!(match_complex_arm_ty);
3605 let t = type_at(
3606 r#"
3607//- /main.rs
3608enum Option<T> {
3609 Some(T),
3610 None
3611}
3612
3613fn test(a: i32) {
3614 let i = match a {
3615 2 => Option::Some(2.0),
3616 _ => loop {},
3617 };
3618 i<|>
3619 ()
3620}
3621"#,
3622 );
3623 assert_eq!(t, "Option<f64>");
3624 }
3625
3626 #[test]
3627 fn match_first_arm_never() { 3603 fn match_first_arm_never() {
3628 covers!(match_first_arm_never); 3604 covers!(match_first_arm_never);
3629 let t = type_at( 3605 let t = type_at(