Skip to content

Conversation

@A4-Tacks
Copy link
Member

Example

enum State { Stop }
fn bar(x: core::ops::Range<State>) {}
fn foo() {
    bar(State::Stop..$0)
}

Before this PR

std::ops::Range {…}~ std::ops::Range { start: Idx, end: Idx }

After this PR

State::Stop~ State::Stop

Example
---
```rust
enum State { Stop }
fn bar(x: core::ops::Range<State>) {}
fn foo() {
    bar(State::Stop..$0)
}
```

**Before this PR**

```text
std::ops::Range {…}~ std::ops::Range { start: Idx, end: Idx }
```

**After this PR**

```text
State::Stop~ State::Stop
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 29, 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