// known-bug: #110395 #![feature(derive_const)] #![feature(const_trait_impl)] #[derive_const(PartialEq)] pub struct Reverse(T); const fn foo(a: Reverse, b: Reverse) -> bool { a == b } fn main() {}