about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/late/diagnostics.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-08 16:57:53 +0000
committerMichael Goulet <michael@errs.io>2024-11-08 16:58:19 +0000
commit0e481b44f5d851e9b7b3b3ed1b576d92437c7684 (patch)
tree91053020eb6fd89d775b27258516f736ac57f3d5 /compiler/rustc_resolve/src/late/diagnostics.rs
parent209799f3b910c64c8bd5001c0a8a55e03e7c2614 (diff)
downloadrust-0e481b44f5d851e9b7b3b3ed1b576d92437c7684.tar.gz
rust-0e481b44f5d851e9b7b3b3ed1b576d92437c7684.zip
use verbose for path separator suggestion
Diffstat (limited to 'compiler/rustc_resolve/src/late/diagnostics.rs')
-rw-r--r--compiler/rustc_resolve/src/late/diagnostics.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/diagnostics.rs b/compiler/rustc_resolve/src/late/diagnostics.rs
index 42455983575..09f5a8e96d3 100644
--- a/compiler/rustc_resolve/src/late/diagnostics.rs
+++ b/compiler/rustc_resolve/src/late/diagnostics.rs
@@ -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,
                     "::",