]> git.lizzy.rs Git - rust.git/commitdiff
Remove 'for_expr' test from inlay_hints.rs
authorIgor Aleksanov <popzxc@yandex.ru>
Sat, 3 Oct 2020 05:56:02 +0000 (08:56 +0300)
committerIgor Aleksanov <popzxc@yandex.ru>
Sat, 3 Oct 2020 05:58:17 +0000 (08:58 +0300)
crates/ide/src/inlay_hints.rs

index b1fe3383636699456968824e913ef98ed7ed98a1..29f3b6828c11e3845199c7135acd4a0f30dca40e 100644 (file)
@@ -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");
 }