Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
hygiene
/
hygiene-dodging-1.rs
blob: 69e47e82ba5e6cfed29f3205563c901c3a47fa82 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
unused_must_use
)]
mod
x
{
pub
fn
g
()
->
usize
{
14
}
}
pub
fn
main
(){
// should *not* shadow the module x:
let
x
=
9
;
// use it to avoid warnings:
x
+
3
;
assert_eq
!(
x
::
g
(),
14
);
}