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
The syntax for conditionally const trait bounds has changed from
T: ~const TraittoT: [const] Traitin rust-lang/rust#139858.