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
/
tests
/
ui
/
binding
/
let-destruct-ref.rs
blob: 824ac6f5f02428e3b444ebdceb00966824da84e7 (
plain
)
1
2
3
4
5
6
7
//@ run-pass
pub
fn
main
()
{
let
x
=
3_
usize
;
let
ref
y
=
x
;
assert_eq!
(
x
,
*
y
);
}