#[cfg_attr(not(doc), repr(..))]
Now that #90435 seems to have been resolved.
char::DebugEscape
write_str