Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
use
/
use-self-type.rs
blob: 3e5c7bf3cca256f36a62518231bc73f88d3d4180 [
file
] [
log
] [
blame
]
struct
S
;
impl
S
{
fn
f
()
{}
fn
g
()
{
use
Self
::
f
;
//~ ERROR unresolved import
pub
(
in
Self
::
f
)
struct
Z
;
//~ ERROR use of undeclared type or module `Self`
}
}
fn
main
()
{}