@@ -210,14 +210,14 @@ impl Shell {
210
210
if self . needs_clear {
211
211
self . err_erase_line ( ) ;
212
212
}
213
- self . err . print ( & "error: " , Some ( & message) , Red , false )
213
+ self . err . print ( & "error" , Some ( & message) , Red , false )
214
214
}
215
215
216
216
/// Prints an amber 'warning' message.
217
217
pub fn warn < T : fmt:: Display > ( & mut self , message : T ) -> CargoResult < ( ) > {
218
218
match self . verbosity {
219
219
Verbosity :: Quiet => Ok ( ( ) ) ,
220
- _ => self . print ( & "warning: " , Some ( & message) , Yellow , false ) ,
220
+ _ => self . print ( & "warning" , Some ( & message) , Yellow , false ) ,
221
221
}
222
222
}
223
223
@@ -318,6 +318,8 @@ impl ShellOut {
318
318
write ! ( stream, "{:>12}" , status) ?;
319
319
} else {
320
320
write ! ( stream, "{}" , status) ?;
321
+ stream. set_color ( ColorSpec :: new ( ) . set_bold ( true ) ) ?;
322
+ write ! ( stream, ":" ) ?;
321
323
}
322
324
stream. reset ( ) ?;
323
325
match message {
@@ -329,7 +331,7 @@ impl ShellOut {
329
331
if justified {
330
332
write ! ( w, "{:>12}" , status) ?;
331
333
} else {
332
- write ! ( w, "{}" , status) ?;
334
+ write ! ( w, "{}: " , status) ?;
333
335
}
334
336
match message {
335
337
Some ( message) => writeln ! ( w, " {}" , message) ?,
0 commit comments