Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
use
/
use-self-type.rs
blob: 3b4ce429701977b3ffb896d1c13d92ac686b2920 [
file
] [
log
] [
blame
]
struct
S
;
impl
S
{
fn
f
()
{}
fn
g
()
{
use
Self
::
f
;
//~ ERROR unresolved import
pub
(
in
Self
::
f
)
struct
Z
;
//~ ERROR failed to resolve: `Self`
}
}
fn
main
()
{}