From 91a09f50f47d451d40fe863ec4af7e2b38ed5a45 Mon Sep 17 00:00:00 2001 From: Igor Aleksanov Date: Sat, 3 Oct 2020 08:56:02 +0300 Subject: Remove 'for_expr' test from inlay_hints.rs --- crates/ide/src/inlay_hints.rs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'crates/ide') diff --git a/crates/ide/src/inlay_hints.rs b/crates/ide/src/inlay_hints.rs index b1fe33836..29f3b6828 100644 --- a/crates/ide/src/inlay_hints.rs +++ b/crates/ide/src/inlay_hints.rs @@ -505,19 +505,6 @@ fn main() { ); } - #[test] - fn for_expression() { - check( - r#" -fn main() { - let mut start = 0; - //^^^^^^^^^ i32 - for increment in 0..2 { start += increment; } - //^^^^^^^^^ i32 -}"#, - ); - } - #[test] fn if_expr() { check( @@ -963,7 +950,7 @@ fn main() { let mut data = Vec::new(); //^^^^^^^^ Vec<&str> data.push("foo"); - for i in + for i in println!("Unit expr"); } -- cgit v1.2.3