]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/long-match-arms-brace-newline.rs
Merge commit 'e36a20c24f35a4cee82bbdc600289104c9237c22' into ra-sync-and-pms-component
[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 }