use verbose for path separator suggestion
This commit is contained in:
parent
209799f3b9
commit
0e481b44f5
6 changed files with 104 additions and 19 deletions
|
@ -1472,7 +1472,7 @@ impl<'ast, 'ra: 'ast, 'tcx> LateResolutionVisitor<'_, 'ast, 'ra, 'tcx> {
|
|||
};
|
||||
|
||||
if lhs_span.eq_ctxt(rhs_span) {
|
||||
err.span_suggestion(
|
||||
err.span_suggestion_verbose(
|
||||
lhs_span.between(rhs_span),
|
||||
MESSAGE,
|
||||
"::",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue