Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-18859.rs
blob: c4575bce925f6474b057adf553bf5b20dff557c7 [
file
] [
log
] [
blame
]
// run-pass
mod
foo
{
pub
mod
bar
{
pub
mod
baz
{
pub
fn
name
()
->
&
'
static
str
{
module_path
!()
}
}
}
}
fn
main
()
{
assert_eq
!(
module_path
!(),
"issue_18859"
);
assert_eq
!(
foo
::
bar
::
baz
::
name
(),
"issue_18859::foo::bar::baz"
);
}