Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- use std::io::Write;
- fn main() {
- writeln!(&mut std::io::stderr(), "Error message")
- .expect("Failed to print to stderr");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement