Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
structs-enums
/
struct-like-variant-construct.rs
blob: 60fc7ce394c0537a1882d988263c566cccda7e8b [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
enum
Foo
{
Bar
{
a
:
isize
,
b
:
isize
},
Baz
{
c
:
f64
,
d
:
f64
}
}
pub
fn
main
()
{
let
_x
=
Foo
::
Bar
{
a
:
2
,
b
:
3
};
}