Skip to content

Commit

Permalink
fixup! rustc_typeck: improve diagnostics for _ const/static declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
lundibundi committed Jul 19, 2019
1 parent b361864 commit c6e027d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ui/error-codes/E0121.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LL | static BAR: _ = "test";
| ^
| |
| not allowed in type signatures
| help: replace `_` with the correct return type: `&'static str`
| help: replace `_` with the correct type: `&'static str`

error: aborting due to 2 previous errors

Expand Down

0 comments on commit c6e027d

Please sign in to comment.