Sign in
rust
/
rust
/
a5a286df89146c64afebc6dcbbd3f61ba67ae53b
/
.
/
tests
/
ui
/
use
/
use-self-type.rs
blob: 4453049acff0a89f900ff530ced088547a01483f [
file
]
struct
S
;
impl
S
{
fn
f
()
{}
fn
g
()
{
use
Self
::
f
;
//~ ERROR unresolved import
pub
(
in
Self
::
f
)
struct
Z
;
//~ ERROR cannot find `Self`
}
}
fn
main
()
{}