diff --git a/tests/ui/write_with_newline.stderr b/tests/ui/write_with_newline.stderr index 426afe6cf..ead6b5d08 100644 --- a/tests/ui/write_with_newline.stderr +++ b/tests/ui/write_with_newline.stderr @@ -25,9 +25,9 @@ error: using `write!()` with a format string that ends in a single newline, cons | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead - --> $DIR/write_with_newline.rs:44:5 + --> $DIR/write_with_newline.rs:41:5 | -44 | write!(&mut v, "//n"); +41 | write!(&mut v, "//n"); | ^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 5 previous errors