Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
()
{}