]> git.lizzy.rs Git - rust.git/blobdiff - tests/target/issue-913.rs
Make tests fail if rustfmt encounters an error
[rust.git] / tests / target / issue-913.rs
index c7aee5fe3abaeddc969967a098f4fe837cef379f..98f766e73106d87e44a31c5ab2e3747af2343b5e 100644 (file)
@@ -1,3 +1,5 @@
+// rustfmt-error_on_line_overflow: false
+
 mod client {
     impl Client {
         fn test(self) -> Result<()> {
@@ -10,7 +12,7 @@ fn test(self) -> Result<()> {
             let next_state = match self.state {
                 State::V5(v5::State::Command(v5::comand::State::WriteVersion(ref mut response))) => {
                     // The pattern cannot be formatted in a way that the match stays
-                    // within the column limit. The rewrite should therefore be 
+                    // within the column limit. The rewrite should therefore be
                     // skipped.
                     let x =  dont . reformat . meeee();
                 }