]> git.lizzy.rs Git - rust.git/blob - tests/source/long-match-arms-brace-newline.rs
Update tests
[rust.git] / tests / source / long-match-arms-brace-newline.rs
1 // rustfmt-format_strings: true
2 // rustfmt-force_format_strings: true
3 // rustfmt-max_width: 80
4 // rustfmt-control_brace_style: AlwaysNextLine
5
6 fn main() {
7     match x {
8         aaaaaaaa::Bbbbb::Ccccccccccccc(_, Some(ref x)) if x ==
9             "aaaaaaaaaaa \
10             aaaaaaa \
11             aaaaaa" => {
12             Ok(())
13         }
14             _ => Err(x),
15     }
16 }