Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
autoref-autoderef
/
autoderef-and-borrow-method-receiver.rs
blob: 874f4228277e1540a28c2ccce5e30eb99a19d2c8 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
struct
Foo
{
x
:
isize
,
}
impl
Foo
{
pub
fn
f
(&
self
)
{}
}
fn
g
(
x
:
&
mut
Foo
)
{
x
.
f
();
}
pub
fn
main
()
{
}