aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorIgor Aleksanov <[email protected]>2020-10-03 06:56:02 +0100
committerIgor Aleksanov <[email protected]>2020-10-03 06:58:17 +0100
commit91a09f50f47d451d40fe863ec4af7e2b38ed5a45 (patch)
treec8ea9a92b2a667d021c2786f8f61f90dfabb92f0 /crates
parenta58441ad1b87b40ddfc175e5d2c3a4d38085ef0d (diff)
Remove 'for_expr' test from inlay_hints.rs
Diffstat (limited to 'crates')
-rw-r--r--crates/ide/src/inlay_hints.rs15
1 files changed, 1 insertions, 14 deletions
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
@@ -506,19 +506,6 @@ fn main() {
506 } 506 }
507 507
508 #[test] 508 #[test]
509 fn for_expression() {
510 check(
511 r#"
512fn main() {
513 let mut start = 0;
514 //^^^^^^^^^ i32
515 for increment in 0..2 { start += increment; }
516 //^^^^^^^^^ i32
517}"#,
518 );
519 }
520
521 #[test]
522 fn if_expr() { 509 fn if_expr() {
523 check( 510 check(
524 r#" 511 r#"
@@ -963,7 +950,7 @@ fn main() {
963 let mut data = Vec::new(); 950 let mut data = Vec::new();
964 //^^^^^^^^ Vec<&str> 951 //^^^^^^^^ Vec<&str>
965 data.push("foo"); 952 data.push("foo");
966 for i in 953 for i in
967 954
968 println!("Unit expr"); 955 println!("Unit expr");
969} 956}