Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
consts
/
promoted-validation-55454.rs
blob: 5e193b1b7de0bcaa283b7a8bcaa5bc5e31471129 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/55454
// compile-pass
#[
derive
(
PartialEq
)]
struct
This
<
T
>(
T
);
fn
main
()
{
This
(
Some
(&
1
))
==
This
(
Some
(&
1
));
}