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

Tracking Issue for for-loops in constants #87575

Open
jonas-schievink opened this issue Jul 29, 2021 · 9 comments
Open

Tracking Issue for for-loops in constants #87575

jonas-schievink opened this issue Jul 29, 2021 · 9 comments
Labels
A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC

Comments

@jonas-schievink
Copy link
Contributor

jonas-schievink commented Jul 29, 2021

This tracks #![feature(const_for)], added in #87237.

This feature depends on const_trait_impl and is not currently usable.

@jonas-schievink jonas-schievink added A-const-fn C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC labels Jul 29, 2021
@SUPERCILEX
Copy link
Contributor

Is there a tracking issue for const range iterators? Doing something like for i in 0..1000 { doesn't compile... am I missing something?

@CalinZBaenen

This comment was marked as off-topic.

@mati865

This comment was marked as off-topic.

@CalinZBaenen

This comment was marked as off-topic.

@mati865

This comment was marked as off-topic.

@CalinZBaenen

This comment was marked as off-topic.

@Tom1380

This comment was marked as off-topic.

@Crypto-Spartan
Copy link

Any updates on this?

@oli-obk
Copy link
Contributor

oli-obk commented Aug 15, 2024

const_traits is still very unstable. @fee1-dead is doing the refactoring on this and has recently landed a major milestone. There are still many things to resolve though.

Consider sponsoring (https://github.com/sponsors/fee1-dead) as a thank you if this work is important to you

@RalfJung RalfJung added A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) and removed A-const-fn labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-const-eval Area: Constant evaluation, covers all const contexts (static, const fn, ...) C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC
Projects
None yet
Development

No branches or pull requests

8 participants