]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/file-lines-3.rs
fix internal error for long closure types (#3653)
[rust.git] / tests / source / file-lines-3.rs
index a408fa3ccf6c87964a4aacb0aa91da12b56e74f8..4b825b9f58ceecbd190969f3fb5f95c8a89f6560 100644 (file)
@@ -1,5 +1,4 @@
-// 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
+// rustfmt-file_lines: [{"file":"tests/source/file-lines-3.rs","range":[4,8]},{"file":"tests/source/file-lines-3.rs","range":[10,15]}]
 
 fn floaters() {
     let x = Foo {
@@ -18,6 +17,7 @@ fn floaters() {
     {
         match x {
             PushParam => {
+                // comment
                 stack.push(mparams[match cur.to_digit(10) {
                                             Some(d) => d as usize - 1,
                                             None => return Err("bad param number".to_owned()),