]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/long-match-arms-brace-newline.rs
Rollup merge of #95040 - frank-king:fix/94981, r=Mark-Simulacrum
[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 }