Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add inlay hint for exclusive ranges #16298

Merged
merged 1 commit into from Jan 7, 2024

Conversation

riverbl
Copy link
Contributor

@riverbl riverbl commented Jan 7, 2024

Adds an inlay hint containing a '<' character to exclusive range expressions and patterns that specify an upper bound.

2024-01-07-095056_257x415_scrot

Inspired by this comment noting that IntelliJ Rust has this feature.

Adds an inlay hint containing a '<' character to exclusive range expressions and patterns that specify an upper bound.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 7, 2024
@Veykril
Copy link
Member

Veykril commented Jan 7, 2024

Oh I like this! Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 7, 2024

📌 Commit 3c378b9 has been approved by Veykril

It is now in the queue for this repository.

@Veykril Veykril changed the title Add inlay hint for exclusive ranges feat: Add inlay hint for exclusive ranges Jan 7, 2024
@bors
Copy link
Collaborator

bors commented Jan 7, 2024

⌛ Testing commit 3c378b9 with merge 6ce3f44...

@bors
Copy link
Collaborator

bors commented Jan 7, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 6ce3f44 to master...

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.

None yet

4 participants