Skip to content

Commit 31106eb

Browse files
committed
Update the comment in the add_typo_suggestion function
1 parent cc3eee7 commit 31106eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1900,7 +1900,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
19001900
if span.overlaps(def_span) {
19011901
// Don't suggest typo suggestion for itself like in the following:
19021902
// error[E0423]: expected function, tuple struct or tuple variant, found struct `X`
1903-
// --> $DIR/issue-64792-bad-unicode-ctor.rs:3:14
1903+
// --> $DIR/unicode-string-literal-syntax-error-64792.rs:4:14
19041904
// |
19051905
// LL | struct X {}
19061906
// | ----------- `X` defined here

0 commit comments

Comments
 (0)