Sign in
fuchsia
/
third_party
/
rust
/
0.4
/
.
/
src
/
test
/
compile-fail
/
export2.rs
blob: b1912397f4c3a604cde4adab18ae690ffd6f6739 [
file
] [
log
] [
blame
]
// error-pattern: unresolved name
mod
foo
{
#[
legacy_exports
];
export x
;
fn
x
()
{
bar
::
x
();
}
}
mod
bar
{
#[
legacy_exports
];
export y
;
fn
x
()
{
debug
!(
"x"
);
}
fn
y
()
{
}
}
fn
main
()
{
foo
::
x
();
}