The syntax for conditionally const trait bounds has changed from `T: ~const Trait` to `T: [const] Trait` in https://github.com/rust-lang/rust/pull/139858. - Tracking issue: https://github.com/rust-lang/rust/issues/143874