Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
warnings
/
no-explicit-path-issue-122509.rs
blob: 4e8eefde5dad1c20ef70e11c742accf668bf84c0 [
file
] [
log
] [
blame
] [
edit
]
//@ build-pass
//@ compile-flags: -C codegen-units=2 --emit asm
fn
one
()
->
usize
{
1
}
pub
mod
a
{
pub
fn
two
()
->
usize
{
::
one
()
+
::
one
()
}
}
pub
mod
b
{
pub
fn
three
()
->
usize
{
::
one
()
+
::
a
::
two
()
}
}
fn
main
()
{
a
::
two
();
b
::
three
();
}