Skip to content

Conversation

wetneb
Copy link

@wetneb wetneb commented Aug 1, 2025

Tracking issue: rust-lang/rust#67792. This syntax is already supported by rustc stable, 2024 edition, with the appropriate feature gate.

Note: this change is taken from my fork tree-sitter-rust-orchard. I thought I would open PRs for easily portable changes like this one, even if there is no prospect of them being merged soon given the current maintenance status of this repository (as a way of making that status clearer). If that is too noisy, let me know and I'll stop.

Tracking issue: rust-lang/rust#67792.
This syntax is already supported by rustc stable, 2024 edition.

Reviewed-on: https://codeberg.org/grammar-orchard/tree-sitter-rust-orchard/pulls/9
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-committed-by: Antonin Delpeuch <antonin@delpeuch.eu>
@m4rch3n1ng
Copy link
Contributor

might be better to wait a little with this, the rust team has recently decided to remove the ~const trait bounds and replace them with [const] (see rust-lang/rfcs#3762). additionally, there now also exist just const trait bounds.

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.

2 participants