This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
66f6fa68fa
rust
/
tests
/
pass
/
issues
/
issue-34571.rs
11 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
Mir optimizations treat single variant enums as structs
2017-08-29 05:24:23 -05:00
#[
repr(u8)
]
enum
Foo
{
Foo
(
u8
)
,
}
fn
main
(
)
{
match
Foo
::
Foo
(
1
)
{
Format tests with rustfmt (101-150 of 300)
2022-06-20 18:00:37 -05:00
_
=
>
(
)
,
Mir optimizations treat single variant enums as structs
2017-08-29 05:24:23 -05:00
}
}
Reference in New Issue
Copy Permalink