Sign in
fuchsia
/
third_party
/
rust
/
7dbfb0a8ca4ab74ee3111e57a024f9e6257ce37c
/
.
/
src
/
test
/
ui
/
export-tag-variant.rs
blob: 46c10067ce20ce061014ce50ccb245e18c8234f0 [
file
] [
log
] [
blame
]
mod
foo
{
pub
fn
x
()
{
}
enum
Y
{
Y1
}
}
fn
main
()
{
let
z
=
foo
::
Y
::
Y1
;
}
//~ ERROR: enum `Y` is private