73 Commits

Author SHA1 Message Date
Dylan DPC
2183a949a8
Update E0478.md 2019-12-09 12:17:38 +01:00
ryan
f430fca73a corrected comment to reflect that 'SnowWhite lives longer than 'kiss in E0478 2019-12-08 18:09:36 -08:00
Mazdak Farrokhzad
2bd35c065c
Rollup merge of #66606 - christianpoveda:mut-refs-in-const-fn, r=oli-obk
Add feature gate for mut refs in const fn

r? @oli-obk
2019-12-06 23:26:54 +01:00
Yuki Okushi
662a225f1d
Rollup merge of #67017 - GuillaumeGomez:long-err-explanations-2, r=Dylan-DPC
cleanup long error explanations

r? @Dylan-DPC
2019-12-06 15:37:08 +09:00
Yuki Okushi
6c0165fa78
Rollup merge of #66979 - reese:E0631-long-error, r=GuillaumeGomez
Add long error for E0631 and update ui tests.

This PR adds a long error for `E0631`, which covers errors where closure argument types are mismatched. It also updates UI tests where this error is applicable.

Part of #61137
2019-12-06 15:37:06 +09:00
Yuki Okushi
c31773cece
Rollup merge of #66900 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC
Clean up error codes

r? @Dylan-DPC
2019-12-06 15:37:03 +09:00
Guillaume Gomez
ae753a55ac some error codes long explanation 2019-12-04 13:36:50 +01:00
Guillaume Gomez
9eaea4d3ea Clean up E0118 error code long explanation 2019-12-04 13:35:26 +01:00
Guillaume Gomez
1e5450d4cb Clean up E0117 error code long explanation 2019-12-04 13:32:37 +01:00
Guillaume Gomez
c2ce7dd756 Clean up E0116 error code long explanation 2019-12-04 13:32:37 +01:00
Guillaume Gomez
c911bb1a2e clean up E0107 error explanation 2019-12-03 22:25:15 +01:00
Reese Williams
26a1ba85b8 Use simpler code example for E0631 long error. 2019-12-03 07:51:11 -05:00
Reese Williams
7693bb9e1d Add long error for E0631 and update ui tests. 2019-12-02 22:01:27 -05:00
Christian Poveda
e01ad6a01a Remove E0017 from error codes index 2019-12-02 09:46:27 -05:00
Mazdak Farrokhzad
d4f59564e7
Rollup merge of #66880 - aDotInTheVoid:add-E0203-long, r=GuillaumeGomez
Add long error code explanation message for E0203

Addressed some of #61137

r? @GuillaumeGomez
2019-12-01 04:49:29 +01:00
Guillaume Gomez
481b18acd0 Small error codes explanation cleanup (E0092, E0093 and E0094) 2019-11-30 13:43:50 +01:00
Nixon
a52eb05ec6 Address review comments 2019-11-30 11:22:20 +00:00
Nixon
f8fb24f18f Add explanation message for E0203 2019-11-29 22:42:38 +00:00
Ralf Jung
0f6e6363fc
Rollup merge of #66808 - GuillaumeGomez:cleanup-err-code-3, r=Dylan-DPC
Cleanup error code

r? @Dylan-DPC
2019-11-29 22:57:38 +01:00
Tyler Mandry
999fd561ba
Rollup merge of #66798 - bwignall:typo, r=varkor
Fix spelling typos

Should be non-semantic.

Uses https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines to find likely typos.
2019-11-27 15:28:53 -06:00
Tyler Mandry
6a1fe67cac
Rollup merge of #66777 - GuillaumeGomez:tidy-err-codes, r=Mark-Simulacrum
Put back tidy check on error codes

I just realized that the tidy checks were not run anymore on the error code long explanations. This add it back.

cc @Dylan-DPC
r? @Mark-Simulacrum
2019-11-27 15:28:50 -06:00
Tyler Mandry
ae49770918
Rollup merge of #66774 - GuillaumeGomez:cleanup-err-codes-2, r=Dylan-DPC
Clean up error codes

r? @Dylan-DPC
2019-11-27 15:28:48 -06:00
Guillaume Gomez
7edaebaf6a Clean up E0091 long explanation 2019-11-27 18:02:05 +01:00
Guillaume Gomez
ce696101c4 Clean up E0081 long explanation 2019-11-27 18:02:05 +01:00
Guillaume Gomez
38f9cd4d69 Clean up E0080 long explanation 2019-11-27 18:02:05 +01:00
Guillaume Gomez
5bb70c14be Fix tidy issues 2019-11-27 17:58:54 +01:00
Guillaume Gomez
d05a914b24 Clean up E0071 long explanation 2019-11-27 13:18:00 +01:00
Guillaume Gomez
97a1653f09 Clean up E0077 long explanation 2019-11-27 13:18:00 +01:00
Guillaume Gomez
843869c690 Clean up E0076 long explanation 2019-11-27 13:18:00 +01:00
Brian Wignall
16fabd8efd Fix spelling typos 2019-11-26 22:19:54 -05:00
Guillaume Gomez
2af8cd2de8 Clean up E0075 long explanation 2019-11-26 13:47:45 +01:00
Guillaume Gomez
77ecb6d44a Clean up E0072 long explanation 2019-11-26 13:40:48 +01:00
Guillaume Gomez
1bd28b1087 Clean up E0070 long explanation 2019-11-25 15:39:07 +01:00
Guillaume Gomez
ef35980ffb Clean up E0069 long explanation 2019-11-25 15:39:07 +01:00
Guillaume Gomez
98e2917626 Clean up E0067 long explanation 2019-11-25 15:39:07 +01:00
Guillaume Gomez
7e813c4a01 Clean up E0063 long explanation 2019-11-25 13:32:11 +01:00
Guillaume Gomez
bf5c64abff Clean up E0062 long explanation 2019-11-25 13:31:05 +01:00
Matthew Jasper
a8efd31f2b Add raw address of expressions to the AST and HIR 2019-11-24 18:06:13 +00:00
Mazdak Farrokhzad
8be9e90454
Rollup merge of #66633 - GuillaumeGomez:err-codes-cleanup, r=Dylan-DPC
Error code's long explanation cleanup

Continuing to clean up the error code's long explanation.

r? @Dylan-DPC
2019-11-22 19:57:52 +01:00
Guillaume Gomez
a8de11cdd5 small error code explanations improvements 2019-11-22 19:14:09 +01:00
Guillaume Gomez
9bb2e3cd34 Improve E0061 long error explanation 2019-11-22 19:14:09 +01:00
Guillaume Gomez
f798804cd9 Improve E0057 long error explanation 2019-11-22 19:14:09 +01:00
Guillaume Gomez
60d9c2c239 Improve E0023 long error explanation 2019-11-22 19:14:09 +01:00
Guillaume Gomez
ea62c2e5b3 Improve E0015 long error explanation 2019-11-22 19:14:09 +01:00
Mazdak Farrokhzad
15c30ddd69 Stabilize the never_type, written !. 2019-11-21 14:55:32 +01:00
Mazdak Farrokhzad
0a0d07a1fc
Rollup merge of #66526 - estebank:async-fn-trait-information, r=Centril
Add more context to `async fn` trait error

Follow up to #65937. Fix #65899.
2019-11-20 12:58:30 +01:00
Esteban Kuber
a079159c64
Remove desugared async-trait example 2019-11-19 11:29:20 -08:00
Dylan DPC
846f5e6bb9
Update E0706.md 2019-11-19 17:09:39 +01:00
Mazdak Farrokhzad
b5166b1e85
Rollup merge of #66461 - clemencetbk:master, r=GuillaumeGomez
Add explanation message for E0641

Part of #61137
2019-11-19 13:10:19 +01:00
Esteban Küber
e565329144 Add error code documentation 2019-11-18 15:23:05 -08:00