rust-analyzer/crates/syntax
A4-Tacks 8549afe4a6
Add ide-assist: convert_range_for_to_while
Convert for each range into while loop.

```rust
fn foo() {
    $0for i in 3..7 {
        foo(i);
    }
}
```
->
```rust
fn foo() {
    let mut i = 3;
    while i < 7 {
        foo(i);
        i += 1;
    }
}
```
2025-11-04 13:31:41 +08:00
..
fuzz edition = "2024" 2025-03-15 21:32:01 +01:00
src Add ide-assist: convert_range_for_to_while 2025-11-04 13:31:41 +08:00
test_data minor: Simplify impl-ty parse validation 2025-03-25 10:14:40 +01:00
Cargo.toml Don't run doctests 2025-06-23 00:50:22 +03:00
rust.ungram Merge Trait and TraitAlias handling 2025-08-13 15:28:08 +08:00