This is a tracking issue for the minimal usable subset of RFC 2000 (rust-lang/rfcs#2000).
The feature gate for the issue is #![feature(min_const_generics)].
See rust-lang/lang-team#37 for more details.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Completed:
Implementation history
This is a tracking issue for the minimal usable subset of RFC 2000 (rust-lang/rfcs#2000).
The feature gate for the issue is
#![feature(min_const_generics)].See rust-lang/lang-team#37 for more details.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
const-generics-blockingissues.const-generics-bad-diagnosticsissues.min_const_genericstests.Completed:
[u8; std::mem::size_of::<*mut T>()]here (cc makeConstEvaluatablemore strict #74595)ConstKind::Unevaluatedand incorrect inference cycles (cc fix unification of const variables #74040)Implementation history
min_const_genericsfeature gate #74877