Skip to content

Conversation

@A4-Tacks
Copy link
Member

Example

enum Bar { Value, Nil }
struct Foo { x: Bar }
fn foo(foo: Foo) { match foo { Foo { x: $0 } } }

Before this PR

st Foo
bn Foo {…} Foo { x$1 }$0
kw mut
kw ref

After this PR

en Bar
st Foo
bn Foo {…} Foo { x$1 }$0
kw mut
kw ref

Example
---
```rust
enum Bar { Value, Nil }
struct Foo { x: Bar }
fn foo(foo: Foo) { match foo { Foo { x: $0 } } }
```

**Before this PR**

```text
st Foo
bn Foo {…} Foo { x$1 }$0
kw mut
kw ref
```

**After this PR**

```text
en Bar
st Foo
bn Foo {…} Foo { x$1 }$0
kw mut
kw ref
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 19, 2025
@A4-Tacks A4-Tacks mentioned this pull request Nov 20, 2025
41 tasks
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Veykril Veykril added this pull request to the merge queue Nov 23, 2025
Merged via the queue into rust-lang:master with commit d597ef1 Nov 23, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants