Sign in
fuchsia
/
third_party
/
rust
/
bf84eb538fd16743240434b3e837b36c35719fee
/
.
/
src
/
test
/
ui
/
issues
/
issue-29124.rs
blob: dd2784841758cfcbec14d49636bdcd8f723b10ac [
file
] [
log
] [
blame
]
struct
Ret
;
struct
Obj
;
impl
Obj
{
fn
func
()
->
Ret
{
Ret
}
}
fn
func
()
->
Ret
{
Ret
}
fn
main
()
{
Obj
::
func
.
x
();
//~^ ERROR no method named `x` found
func
.
x
();
//~^ ERROR no method named `x` found
}