Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
autoref-autoderef
/
autoderef-and-borrow-method-receiver.rs
blob: b44e2a8cd37cbe3e74da32da5fe97628bdc8cfcd [
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
()
{
}