+// FIXME: Ideally these suggestions would be fixed via rustfix. Blocked by rust-lang/rust#53934
+// // run-rustfix
+
#![allow(clippy::write_literal)]
#![warn(clippy::write_with_newline)]
r"
"
);
+
+ // Don't warn on CRLF (#4208)
+ write!(&mut v, "\r\n");
+ write!(&mut v, "foo\r\n");
+ write!(&mut v, "\\r\n"); //~ ERROR
+ write!(&mut v, "foo\rbar\n");
}