Add '!' to macro name suggestion, use fileline_help instead of span_help
This commit is contained in:
parent
ac0220cf4c
commit
9ba657cad5
2 changed files with 2 additions and 2 deletions
|
|
@ -790,7 +790,7 @@ impl<'a> ExtCtxt<'a> {
|
|||
}
|
||||
}
|
||||
if let Some((suggestion, _)) = min {
|
||||
self.span_help(span, &format!("did you mean `{}`?", suggestion));
|
||||
self.fileline_help(span, &format!("did you mean `{}!`?", suggestion));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue