Commit Graph

36 Commits

Author SHA1 Message Date
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
Guillaume Gomez c981c994d4 Move E0594 to new error code system 2019-11-18 23:38:25 +01:00
clemencetbk 4e1eeb9a45 Add explanation message for E0641 2019-11-16 12:04:17 -05:00
Mazdak Farrokhzad 8444e1628c move DIAGNOSTICS usage to rustc_driver 2019-11-16 02:32:33 +01:00
Tyler Mandry 0f2f03fbd1 Rollup merge of #66443 - GuillaumeGomez:port-erased-cleanup, r=Mark-Simulacrum
Port erased cleanup

Just realised that the changes I made in #65965 were removed after the move of all error codes so here it is. I made them into separate commits to make the history look better this time.

r? @Mark-Simulacrum
2019-11-15 14:44:52 +01:00
Guillaume Gomez f9fdc380c7 Clean up E0025, E0034, E0044, E0046 and E0053 2019-11-15 13:24:47 +01:00
Guillaume Gomez 041c9f6f48 Clean up E0054 2019-11-15 13:24:47 +01:00
Guillaume Gomez 1a3c8c8964 Clean up E0050 2019-11-15 13:24:47 +01:00
Guillaume Gomez 2312207d91 Clean up E0049 2019-11-15 13:24:47 +01:00
Guillaume Gomez 11bb297d2c Clean up E0045 2019-11-15 13:24:47 +01:00
Guillaume Gomez a5fcc5137f Clean up E0040 2019-11-15 13:24:47 +01:00
Guillaume Gomez cab1955b21 Clean up E0033 2019-11-15 13:24:47 +01:00
Guillaume Gomez f8d575a007 Clean up E0029 2019-11-15 13:24:47 +01:00
Guillaume Gomez 86506281b5 Clean up E0027 2019-11-15 13:24:47 +01:00
Guillaume Gomez 88acc84073 Clean up E0026 2019-11-15 13:24:47 +01:00
Guillaume Gomez 57564c80e3 Add link to error code explanation RFC 2019-11-15 13:24:47 +01:00
Guillaume Gomez 9d4620870c Clean up E0023 2019-11-15 13:04:52 +01:00
Dylan MacKenzie 336e332fd6 Link to tracking issue in HIR const-check error 2019-11-14 09:42:01 -08:00
Guillaume Gomez b5b2a8984e Move E0210 to new error location 2019-11-14 13:08:23 +01:00
Guillaume Gomez bfa3d599eb move E0744 to new error code 2019-11-14 13:05:56 +01:00
Guillaume Gomez 411f94c3b9 move E0623 into the new error code format 2019-11-14 13:05:56 +01:00
Guillaume Gomez cd274632f8 Put each error code long explanation into their own markdown file 2019-11-14 13:05:56 +01:00
Guillaume Gomez 0aea1ca014 fix tidy issue on file length 2019-11-14 13:05:56 +01:00
Guillaume Gomez 3816fce76c Create new librustc_error_codes lib and move error codes declaration inside it 2019-11-14 13:05:42 +01:00