Remove 'for_expr' test from inlay_hints.rs

This commit is contained in:
Igor Aleksanov 2020-10-03 08:56:02 +03:00
parent a58441ad1b
commit 91a09f50f4

View 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");
}