Commit Graph

28 Commits

Author SHA1 Message Date
Yuki Okushi
9f3a192327
Rollup merge of #69620 - thekuom:doc/61137-add-long-error-code-e0719, r=davidtwco
doc(librustc_error_codes): add long error explanation for E0719

Reference issue #61137

- Updated error_codes.rs
- Added E0719.md in error_codes
- Updated necessary test .stderr files
2020-03-03 17:50:10 +09:00
Matthew Kuo
275dac7bfb doc(librustc_error_codes): add long error explanation for E0719
Progresses #61137
2020-03-01 15:17:08 -06:00
Guillaume Gomez
bae5f3976b Add E0747 error code 2020-02-28 16:01:04 +01:00
varkor
039045c49b Move generic arg / param validation to create_substs_for_generic_args 2020-02-22 00:28:18 +00:00
Josh White
4a1c6ce235 Added long error description & modifed error_codes.rs 2020-02-06 16:18:24 -05:00
LeSeulArtichaut
976a146203 Add E0727 long explanation 2020-01-28 21:17:12 +01:00
Esteban Küber
4c13d2555c Add E0746 explanation to the index 2020-01-16 09:37:24 -08:00
Esteban Küber
6fd564112f Specific error for unsized dyn Trait return type
Suggest `impl Trait` when possible, and `Box<dyn Trait>` otherwise.
2020-01-16 09:37:24 -08:00
Donough Liu
751fe7c43d Add error code explanation for E0477 2019-12-30 14:41:46 +08:00
Esteban Küber
66ea471f9d Handle more specific case E0222 2019-12-24 22:10:15 -08:00
Donough Liu
1485c16899 Add long error code explanation message for E0627 2019-12-23 21:05:02 +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
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
Nixon
f8fb24f18f Add explanation message for E0203 2019-11-29 22:42:38 +00:00
Matthew Jasper
a8efd31f2b Add raw address of expressions to the AST and HIR 2019-11-24 18:06:13 +00: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
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
Guillaume Gomez
57564c80e3 Add link to error code explanation RFC 2019-11-15 13:24:47 +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