rust/tests/target/configs/trailing_semicolon/false.rs
2018-03-02 15:07:13 +13:00

28 lines
346 B
Rust

// rustfmt-trailing_semicolon: false
#![feature(loop_break_value)]
fn main() {
'a: loop {
break 'a
}
let mut done = false;
'b: while !done {
done = true;
continue 'b
}
let x = loop {
break 5
};
let x = 'c: loop {
break 'c 5
};
}
fn foo() -> usize {
return 0
}