Sign in
fuchsia
/
third_party
/
rust
/
ba2853b6d3a197cdbec5543be2592ca430b49af6
/
.
/
src
/
test
/
run-pass
/
use-keyword-2.rs
blob: 840c907e23415be9f85c59fee38930ded4c310f7 [
file
] [
log
] [
blame
]
#![
allow
(
unused_variables
)]
pub
struct
A
;
mod
test
{
pub
use
super
::
A
;
pub
use
self
::
A
as
B
;
}
impl
A
{
fn
f
()
{}
fn
g
()
{
Self
::
f
()
}
}
fn
main
()
{
let
a
:
A
=
test
::
A
;
let
b
:
A
=
test
::
B
;
let
c
:
()
=
A
::
g
();
}