mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-15 09:27:27 +00:00
Remove 'for_expr' test from inlay_hints.rs
This commit is contained in:
parent
a58441ad1b
commit
91a09f50f4
1 changed files with 1 additions and 14 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue