2018-10-29 14:22:47 +00:00
|
|
|
// https://github.com/rust-lang/rust/issues/55454
|
2019-07-02 21:30:28 +00:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-10-29 14:22:47 +00:00
|
|
|
|
|
|
|
#[derive(PartialEq)]
|
|
|
|
struct This<T>(T);
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
This(Some(&1)) == This(Some(&1));
|
|
|
|
}
|