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
Can this be reopened? Const indexing on array and slice was only implemented for single indices, but there doesn't seem to be a technical reason why this wouldn't work for ranges as well. Currently this requires dropping down to pointers and transmutes, which is pretty messy.
Const traits still haven't landed, and don't seem to be close.
I haven't been able to find any issue dealing with this. It seems that
min_const_fn
stabilised array indexes but not ranges and ranges don't work.I tried this code:
Error:
Meta
The text was updated successfully, but these errors were encountered: