index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
test
/
run-pass
/
borrowck-wg-simple.rs
blob: f28b0e4c4ec13f80c8d63e13e84e14fec2927003 (
plain
)
1
2
3
4
5
6
7
8
fn
f
(
x
:
&
int
)
{
io
::
println
(
x
.
to_str
());
}
pub
fn
main
()
{
let
x
=
@
mut
3
;
f
(
x
);
}