You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking issue for RFC 2632 ?const trait bound opt-out #67794
changed the title [-]Tracking issue for RFC 2362, `?const` trait bound opt-out[/-][+]Tracking issue for RFC 2632 `?const` trait bound opt-out[/+]on Jan 3, 2020
From what I understand, this was recently changed to ~const but none of the tilde-const PRs link back to this one, and the issue name/description should be updated?
Activity
[-]Tracking issue for RFC 2362, `?const` trait bound opt-out[/-][+]Tracking issue for RFC 2632 `?const` trait bound opt-out[/+]Rollup merge of rust-lang#67820 - ecstatic-morse:const-trait, r=oli-obk
Rollup merge of rust-lang#67820 - ecstatic-morse:const-trait, r=oli-obk
Rollup merge of rust-lang#67820 - ecstatic-morse:const-trait, r=oli-obk
Auto merge of #68140 - ecstatic-morse:const-trait-bound-opt-out, r=ol…
Rollup merge of rust-lang#68140 - ecstatic-morse:const-trait-bound-op…
clarfonthey commentedon Sep 1, 2021
From what I understand, this was recently changed to
~constbut none of the tilde-const PRs link back to this one, and the issue name/description should be updated?clarfonthey commentedon Sep 1, 2021
cc @oli-obk @fee1-dead since from what I understand you two know the most about this change
fee1-dead commentedon Sep 1, 2021
The opt-out is no longer needed. The previous scheme was:
And the current scheme is now:
This issue should be closed, but it can be reopened if somehow we decide to use
?constopt-out again.jplatte commentedon Sep 1, 2021
So where is
~consttracked then? #67792?oli-obk commentedon Sep 1, 2021
yea, const_trait_impl requires the opt in syntax, otherwise you can't write anything but trivial impls
clarfonthey commentedon Sep 1, 2021
So... is there no dedicated tracking issue for
~const, then?Mostly because I don't see any easy place someone can look to know what the new syntax means.
oli-obk commentedon Sep 1, 2021
I updated the const_trait_impl tracking issue to link to the latest RFC text