// https://github.com/rust-lang/rust/issues/55454 // compile-pass #[derive(PartialEq)] struct This(T); fn main() { This(Some(&1)) == This(Some(&1)); }