Rollup merge of #25381 - mathroc:patch-1, r=alexcrichton
closes rust-lang/cargo#1554
This commit is contained in:
commit
ab47005482
1 changed files with 1 additions and 1 deletions
|
|
@ -506,7 +506,7 @@ fn emit(dst: &mut EmitterWriter, cm: &codemap::CodeMap, rsp: RenderSpan,
|
|||
match dst.registry.as_ref().and_then(|registry| registry.find_description(code)) {
|
||||
Some(_) => {
|
||||
try!(print_diagnostic(dst, &ss[..], Help,
|
||||
&format!("pass `--explain {}` to see a detailed \
|
||||
&format!("run `rustc --explain {}` to see a detailed \
|
||||
explanation", code), None));
|
||||
}
|
||||
None => ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue