This is a tracking issue for allowing more const parameter types.
The feature gate for this issue is #![feature(adt_const_params)].
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used 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
Most of the work here will be coordinated in the #project-const-generics stream on zulip.
Unresolved Questions
cc @rust-lang/project-const-generics
This is a tracking issue for allowing more const parameter types.
The feature gate for this issue is
#![feature(adt_const_params)].About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used 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
Most of the work here will be coordinated in the
#project-const-genericsstream on zulip.valtreesexpected int of size 8, but got size 1inrustc_middle/src/ty/consts/int.rswith featureadt_const_params#131052 ICE:InterpErrorInfo(InterpErrorInfoInner { kind: UndefinedBehavior(BoundsCheckFailed#129095 ICE:unable to construct a valtree for the unevaluated constant#128232)min_generic_const_args<const>to includestrand structural constants. rfcs#3161)Unresolved Questions
adt_const_paramsforwards compatible withunsized_const_params(Tracking Issue for unsized const parameter types:feature(unsized_const_params)#128028)cc @rust-lang/project-const-generics