Closed
Description
This is probably due to lazy normalization not being here yet, but I don't find any issues for this specifically so maybe this is a good additional test case for #71973 or a later PR?
#![feature(const_generics)]
trait Foo<const B: bool> {}
fn bar<T: Foo<{ true }>>() {}
I wouldn't even expect this to work necessarily, since the equivalent thing with an associated constant instead of a const generic argument produces cannot constrain an associated constant to a value
(although without an error code 🙁).