We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
()
#![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.