Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
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
));
}