]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-913.rs
Rollup merge of #107166 - petrochenkov:nooptable, r=oli-obk
[rust.git] / src / tools / rustfmt / tests / source / issue-913.rs
1 mod client {
2     impl Client {
3         fn test(self) -> Result<()> {
4             let next_state = match self.state {
5                 State::V5(v5::State::Command(v5::coand::State::WriteVersion(ref mut response))) => {
6                          let x   =   reformat . meeee()  ; 
7                 }
8             };
9
10             let next_state = match self.state {
11                 State::V5(v5::State::Command(v5::comand::State::WriteVersion(ref mut response))) => {
12                     // The pattern cannot be formatted in a way that the match stays
13                     // within the column limit. The rewrite should therefore be
14                     // skipped.
15                     let x =  dont . reformat . meeee();
16                 }
17             };
18         }
19     }
20 }