Skip to content

Commit af52207

Browse files
committed
Auto merge of #25381 - mathroc:patch-1, r=alexcrichton
closes rust-lang/cargo#1554
2 parents b1bd3a3 + 5f932e8 commit af52207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/diagnostic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ fn emit(dst: &mut EmitterWriter, cm: &codemap::CodeMap, rsp: RenderSpan,
506506
match dst.registry.as_ref().and_then(|registry| registry.find_description(code)) {
507507
Some(_) => {
508508
try!(print_diagnostic(dst, &ss[..], Help,
509-
&format!("pass `--explain {}` to see a detailed \
509+
&format!("run `rustc --explain {}` to see a detailed \
510510
explanation", code), None));
511511
}
512512
None => ()

0 commit comments

Comments
 (0)