mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 11:24:24 +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]
|
#[test]
|
||||||
fn if_expr() {
|
fn if_expr() {
|
||||||
check(
|
check(
|
||||||
|
@ -963,7 +950,7 @@ fn main() {
|
||||||
let mut data = Vec::new();
|
let mut data = Vec::new();
|
||||||
//^^^^^^^^ Vec<&str>
|
//^^^^^^^^ Vec<&str>
|
||||||
data.push("foo");
|
data.push("foo");
|
||||||
for i in
|
for i in
|
||||||
|
|
||||||
println!("Unit expr");
|
println!("Unit expr");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue