#![feature(const_generics)]
trait Trait<const U: ()> {}
impl Trait<()> for () {} // error (expected const argument, found type argument)
I wonder if we can resolve the unit value correctly here (though maybe it'll require a small hack), because this is quite unfortunate.
I wonder if we can resolve the unit value correctly here (though maybe it'll require a small hack), because this is quite unfortunate.