Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
binding
/
match-unique-bind.rs
blob: 02f1945f5718ff03480f79571970e5bec9ffc57d [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
#![
feature
(
box_patterns
)]
pub
fn
main
()
{
match
Box
::
new
(
100
)
{
box x
=>
{
println
!(
"{}"
,
x
);
assert_eq
!(
x
,
100
);
}
}
}