Skip to content

Commit c6e027d

Browse files
committed
fixup! rustc_typeck: improve diagnostics for _ const/static declarations
1 parent b361864 commit c6e027d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/error-codes/E0121.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LL | static BAR: _ = "test";
1414
| ^
1515
| |
1616
| not allowed in type signatures
17-
| help: replace `_` with the correct return type: `&'static str`
17+
| help: replace `_` with the correct type: `&'static str`
1818

1919
error: aborting due to 2 previous errors
2020

0 commit comments

Comments
 (0)