mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
b2cc990df0
generic_const_args: allow paths to non type consts tracking issue: https://github.com/rust-lang/rust/issues/151972 Non type consts should be usable in the type system in `feature(generic_const_args)`. These are directly plugged into the constant evaluator, unlike type consts, which are attempted to be reasoned about by the type system. Inherent associated constants are not supported at this time, due to complications around how generic arguments are represented for them (it's currently a mess). The mess is being cleaned up (e.g. https://github.com/rust-lang/rust/pull/154758), so instead of trying to hack support in before the refactoring is done, let's just wait to be able to implement it more cleanly. r? @BoxyUwU