2012-06-20 22:08:25 -05:00
|
|
|
fn main() {
|
|
|
|
let x = some(~1);
|
|
|
|
alt x {
|
2012-08-03 21:59:04 -05:00
|
|
|
some(y) => {
|
2012-06-30 06:23:59 -05:00
|
|
|
let _b <- y; //~ ERROR moving out of pattern binding
|
2012-06-20 22:08:25 -05:00
|
|
|
}
|
2012-08-03 21:59:04 -05:00
|
|
|
_ => {}
|
2012-06-20 22:08:25 -05:00
|
|
|
}
|
|
|
|
}
|