We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The polymorphic printer for strings does not print out escape characters like \n. Instead it uses the \x0a form. Here's a demonstration:
\n
\x0a
fn main() { #error("%?", "foo\nbar"); }
displays rust: ""foo\x0abar""
rust: ""foo\x0abar""