Macro eprint

1.19.0 · Source
macro_rules! eprint {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints to the standard error.

Equivalent to the print! macro, except that output goes to io::stderr instead of io::stdout. See print! for example usage.

Use eprint! only for error and progress messages. Use print! instead for the primary output of your program.

See the formatting documentation in std::fmt for details of the macro argument syntax.

§Panics

Panics if writing to io::stderr fails.

Writing to non-blocking stderr can cause an error, which will lead this macro to panic.

§Examples

eprint!("Error: Could not complete task");
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy