Skip to content

fix: name-match ignore leading tailing underscore - #23456

Merged
ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
A4-Tacks:name-match-side
Oct 5, 2026
Merged

ChayimFriedman2 merged 1 commit into
rust-lang:masterfrom
A4-Tacks:name-match-side

Conversation

@A4-Tacks

@A4-Tacks A4-Tacks commented Oct 2, 2026

Copy link
Copy Markdown
Member

Example

fn foo(_db: &()) {}
fn bar(db: &()) {
    foo($0)
}

Before this PR

lc db &() [type+local]

After this PR

lc db &() [type+name+local]

Example
---
```rust
fn foo(_db: &()) {}
fn bar(db: &()) {
    foo($0)
}
```

**Before this PR**

`lc db &() [type+local]`

**After this PR**

`lc db &() [type+name+local]`
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 2, 2026
@ChayimFriedman2
ChayimFriedman2 added this pull request to the merge queue Oct 5, 2026
Merged via the queue into rust-lang:master with commit 79d8d0b Oct 5, 2026
20 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 5, 2026
@A4-Tacks
A4-Tacks deleted the name-match-side branch October 5, 2026 16:11
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