-LL | write!(&mut v, "/r/n"); //~ ERROR
- | ^^^^^^^^^^^^^^^^^^^^^^^
- |
-help: use `writeln!()` instead
- |
-LL | writeln!(&mut v, "/r"); //~ ERROR
- | ^^^^^^^ --
-
-error: using `write!()` with a format string that ends in a single newline
- --> $DIR/write_with_newline.rs:58:5