2018-08-07 22:01:10 +02:00
|
|
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
2018-12-10 06:27:19 +01:00
|
|
|
--> $DIR/write_with_newline.rs:19:5
|
2018-04-05 05:46:39 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | write!(&mut v, "Hello/n");
|
2018-07-23 00:19:07 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-05 05:46:39 +02:00
|
|
|
|
|
2018-08-01 16:30:44 +02:00
|
|
|
= note: `-D clippy::write-with-newline` implied by `-D warnings`
|
2018-04-05 05:46:39 +02:00
|
|
|
|
2018-08-07 22:01:10 +02:00
|
|
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
2018-12-10 06:27:19 +01:00
|
|
|
--> $DIR/write_with_newline.rs:20:5
|
2018-04-05 05:46:39 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | write!(&mut v, "Hello {}/n", "world");
|
2018-07-23 00:19:07 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-05 05:46:39 +02:00
|
|
|
|
2018-08-07 22:01:10 +02:00
|
|
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
2018-12-10 06:27:19 +01:00
|
|
|
--> $DIR/write_with_newline.rs:21:5
|
2018-04-05 05:46:39 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | write!(&mut v, "Hello {} {}/n", "world", "#2");
|
2018-08-07 22:01:10 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-05 05:46:39 +02:00
|
|
|
|
2018-08-07 22:01:10 +02:00
|
|
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
2018-12-10 06:27:19 +01:00
|
|
|
--> $DIR/write_with_newline.rs:22:5
|
2018-04-05 05:46:39 +02:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | write!(&mut v, "{}/n", 1265);
|
2018-07-23 00:19:07 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-04-05 05:46:39 +02:00
|
|
|
|
2018-12-11 07:28:25 +01:00
|
|
|
error: using `write!()` with a format string that ends in a single newline, consider using `writeln!()` instead
|
2018-12-14 06:24:02 +01:00
|
|
|
--> $DIR/write_with_newline.rs:41:5
|
2018-12-11 07:28:25 +01:00
|
|
|
|
|
2018-12-27 16:57:55 +01:00
|
|
|
LL | write!(&mut v, "//n");
|
2018-12-11 07:28:25 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-04-05 05:46:39 +02:00
|
|
|
|