Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
consts
/
promoted-validation-55454.rs
blob: 23cae4fb57d573495fc518a95bd96f879b9f833e [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/55454
// build-pass (FIXME(62277): could be check-pass?)
#[
derive
(
PartialEq
)]
struct
This
<
T
>(
T
);
fn
main
()
{
This
(
Some
(&
1
))
==
This
(
Some
(&
1
));
}