Skip to content

Conversation

@A4-Tacks
Copy link
Member

@A4-Tacks A4-Tacks commented Dec 5, 2025

Example

fn main() {
    let foobar = 1;
    format_args!("{{{f$0");
}

Before this PR

No complete

After this PR

fn main() {
    let foobar = 1;
    format_args!("{{{foobar");
}

fn main() {
    let foo_bar = 1;
    format_args!("{foo_$0}");
}

Before this PR

No complete

After this PR

fn main() {
    let foo_bar = 1;
    format_args!("{foo_bar}");
}

Example
---
```rust
fn main() {
    let foobar = 1;
    format_args!("{{{f$0");
}
```

**Before this PR**

No complete

**After this PR**

```rust
fn main() {
    let foobar = 1;
    format_args!("{{{foobar");
}
```
---
```rust
fn main() {
    let foo_bar = 1;
    format_args!("{foo_$0}");
}
```

**Before this PR**

No complete

**After this PR**

```rust
fn main() {
    let foo_bar = 1;
    format_args!("{foo_bar}");
}
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants