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