Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
f97c37f8ae9a3bb9eed2d2fa812c01ac78b460fb
/
.
/
src
/
test
/
ui
/
issues
/
issue-32086.rs
blob: d595d1dd7e6d1c0404cb3545134636d28d3ce8c0 [
file
] [
log
] [
blame
]
struct
S
(
u8
);
const
C
:
S
=
S
(
10
);
fn
main
()
{
let
C
(
a
)
=
S
(
11
);
//~ ERROR expected tuple struct or tuple variant, found constant `C`
let
C
(..)
=
S
(
11
);
//~ ERROR expected tuple struct or tuple variant, found constant `C`
}