diff options
Diffstat (limited to 'crates/ra_hir/src/ty/tests.rs')
-rw-r--r-- | crates/ra_hir/src/ty/tests.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crates/ra_hir/src/ty/tests.rs b/crates/ra_hir/src/ty/tests.rs index fac566626..ac12d974b 100644 --- a/crates/ra_hir/src/ty/tests.rs +++ b/crates/ra_hir/src/ty/tests.rs | |||
@@ -597,7 +597,7 @@ fn test() { | |||
597 | #[test] | 597 | #[test] |
598 | fn infer_type_param() { | 598 | fn infer_type_param() { |
599 | check_inference( | 599 | check_inference( |
600 | "generic_fn", | 600 | "infer_type_param", |
601 | r#" | 601 | r#" |
602 | fn id<T>(x: T) -> T { | 602 | fn id<T>(x: T) -> T { |
603 | x | 603 | x |
@@ -611,9 +611,7 @@ fn test() { | |||
611 | let y = 10u32; | 611 | let y = 10u32; |
612 | id(y); | 612 | id(y); |
613 | let x: bool = clone(z); | 613 | let x: bool = clone(z); |
614 | 614 | id::<i128>(1); | |
615 | // bad turbofish - ignore! | ||
616 | id::<i128, String>(1); | ||
617 | } | 615 | } |
618 | "#, | 616 | "#, |
619 | ); | 617 | ); |