Macro cprint::ceprint

source ·
macro_rules! ceprint {
    ($msg:expr) => { ... };
}
Expand description

Print an error like Cargo does. The argument is the message of the error. The end of the title is padded with spaces to make it 12 characters long.

§Examples

use cprint::{ceprint, Color, Coloration};

ceprint!("Failed to compile");