fixup! rustc_typeck: improve diagnostics for _ const/static declarations

This commit is contained in:
Denys Otrishko 2019-07-19 23:20:51 +03:00
parent b3618648f2
commit c6e027de52
No known key found for this signature in database
GPG Key ID: B78E64B755B79383
1 changed files with 1 additions and 1 deletions

View File

@ -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