Skip to main content

write_line

Function write_line 

pub fn write_line(args: Arguments<'_>)
Expand description

Write one diagnostic line to stderr, discarding any write error.

Formatted into a String first so the line and its terminator reach the pipe in a single write_all: a reader decodes this stderr as UTF-8, and a line torn between two halves of a multi-byte character fails that decode.