1
Fork 0

use verbose for path separator suggestion

This commit is contained in:
Michael Goulet 2024-11-08 16:57:53 +00:00
parent 209799f3b9
commit 0e481b44f5
6 changed files with 104 additions and 19 deletions

View file

@ -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,
"::",