]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/file-lines-3.rs
Make tests fail if rustfmt encounters an error
[rust.git] / tests / source / file-lines-3.rs
index 29a0e6bb20f58e6f499e869da035a21daf900729..a408fa3ccf6c87964a4aacb0aa91da12b56e74f8 100644 (file)
@@ -1,4 +1,5 @@
-// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[4,8]},{"file":"tests/source/file-lines-3.rs","range":[10,15]}]
+// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[5,9]},{"file":"tests/source/file-lines-3.rs","range":[11,16]}]
+// rustfmt-error_on_line_overflow: false
 
 fn floaters() {
     let x = Foo {