mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-05 09:23:31 +00:00
yeet `type const` tracking issue: https://github.com/rust-lang/rust/issues/132980 zulip thread context (design decussion of future of gca): [#project-const-generics > talkies at last @ 💬](https://rust-lang.zulipchat.com/#narrow/channel/260443-project-const-generics/topic/talkies.20at.20last/near/620368825) this PR does two things: - implement `#[rustc_always_gca]` (bikeshed name thread: [#project-const-generics > #[always_gca] bikeshed](https://rust-lang.zulipchat.com/#narrow/channel/260443-project-const-generics/topic/.23.5Balways_gca.5D.20bikeshed/with/622249110) ) - remove `type const` syntax it also migrates the test suite to the syntax introduced in https://github.com/rust-lang/rust/pull/162179 i.e. the new way to write `type const` is now `const ITEM: T = core::direct_const_arg!(V);` (ouch my hands, that took a while) r? @BoxyUwU