aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}