diff options
author | Marcus Klaas de Vries <[email protected]> | 2019-01-27 16:59:09 +0000 |
---|---|---|
committer | Marcus Klaas de Vries <[email protected]> | 2019-01-27 16:59:21 +0000 |
commit | 6249989e6c133792ff457896d4723c0eb0f42137 (patch) | |
tree | a1739442c9f79c5c6addc0efc7d25a7da678ce02 /crates/ra_hir/src/ty/tests.rs | |
parent | f6eb44cd9e2a27d2004386c71fb6c72f79ba83b3 (diff) |
Process second review
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 | ); |