2015-07-13 14:51:56 -05:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
loop {
|
|
|
|
return some_val;
|
|
|
|
}
|
|
|
|
|
|
|
|
let x = loop {
|
|
|
|
do_forever();
|
|
|
|
};
|
|
|
|
|
2015-07-16 09:29:28 -05:00
|
|
|
'label: loop {
|
2015-07-13 14:51:56 -05:00
|
|
|
// Just comments
|
|
|
|
}
|
2015-07-16 09:29:28 -05:00
|
|
|
|
|
|
|
'a: while loooooooooooooooooooooooooooooooooong_variable_name + another_value >
|
2017-06-11 23:01:41 -05:00
|
|
|
some_other_value
|
|
|
|
{}
|
2015-07-16 09:29:28 -05:00
|
|
|
|
|
|
|
while aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa > bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb {
|
|
|
|
}
|
2015-07-19 16:39:48 -05:00
|
|
|
|
2016-06-08 10:43:08 -05:00
|
|
|
while aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa {
|
|
|
|
}
|
|
|
|
|
2016-09-09 09:20:16 -05:00
|
|
|
'b: for xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx in
|
2017-06-11 23:01:41 -05:00
|
|
|
some_iter(arg1, arg2)
|
|
|
|
{
|
2015-07-19 16:39:48 -05:00
|
|
|
// do smth
|
|
|
|
}
|
|
|
|
|
|
|
|
while let Some(i) = x.find('s') {
|
|
|
|
x.update();
|
2015-08-15 23:43:59 -05:00
|
|
|
// FIXME #184
|
|
|
|
// continue;
|
|
|
|
// continue 'foo;
|
2015-07-19 16:39:48 -05:00
|
|
|
}
|
2015-07-13 14:51:56 -05:00
|
|
|
}
|