Skip to content

Commit 453fca5

Browse files
authored
Rollup merge of #149505 - reddevilmidzy:fix, r=WaffleLapkin
Update the comment in the add_typo_suggestion function This comment was added to 089810a. However, the test for the comment was moved elsewhere in #145897.
2 parents c91942b + 31106eb commit 453fca5

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
@@ -1902,7 +1902,7 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
19021902
if span.overlaps(def_span) {
19031903
// Don't suggest typo suggestion for itself like in the following:
19041904
// error[E0423]: expected function, tuple struct or tuple variant, found struct `X`
1905-
// --> $DIR/issue-64792-bad-unicode-ctor.rs:3:14
1905+
// --> $DIR/unicode-string-literal-syntax-error-64792.rs:4:14
19061906
// |
19071907
// LL | struct X {}
19081908
// | ----------- `X` defined here

0 commit comments

Comments
 (0)