Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
lint
/
lint-dead-code-unused-variant-pub.rs
blob: 3a9061340eb812a66844cf2a198d334780d9afa6 [
file
] [
log
] [
blame
]
// build-pass
#![
deny
(
unused
)]
pub
struct
F
;
pub
struct
B
;
pub
enum
E
{
Foo
(
F
),
Bar
(
B
),
}
fn
main
()
{
let
_
=
E
::
Foo
(
F
);
}