blob: 4ff2406ed15fd2afe35c70ba2c6ae067b3dfcd4a [file] [log] [blame]
// Ensure that we don't get a mismatch error when inserting the host param
// at the end of generic args when the generics have defaulted params.
//
//@ check-pass
//@ compile-flags: -Znext-solver
#![feature(const_trait_impl)]
pub const trait Foo<Rhs: ?Sized = Self> {
/* stuff */
}
impl const Foo for () {}
fn main() {}