summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/long-match-arms-brace-newline.rs
blob: aeb384e7203edac6d865a368e3feb784a05717db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-format_strings: true
// rustfmt-max_width: 80
// rustfmt-control_brace_style: AlwaysNextLine

fn main() {
    match x
    {
        aaaaaaaa::Bbbbb::Ccccccccccccc(_, Some(ref x))
            if x == "aaaaaaaaaaa aaaaaaa aaaaaa" =>
        {
            Ok(())
        }
        _ => Err(x),
    }
}