Yuki Okushi
9c1244d6a1
Rollup merge of #68582 - LeSeulArtichaut:code-explanations, r=Dylan-DPC
...
Add E0727 long explanation
Add long explanation for the `E0727` error code (async generators not yet supported).
Part of #61137
r? @GuillaumeGomez
2020-01-29 09:34:49 +09:00
LeSeulArtichaut
976a146203
Add E0727 long explanation
2020-01-28 21:17:12 +01:00
Yuki Okushi
ee79cf28db
Rollup merge of #68573 - GuillaumeGomez:clean-up-e0262, r=Dylan-DPC
...
Clean up E0262 explanation
r? @Dylan-DPC
2020-01-28 10:48:20 +09:00
Yuki Okushi
8ed586581d
Rollup merge of #68482 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC
...
clean up error codes explanation
r? @Dylan-DPC
2020-01-28 10:48:14 +09:00
Yuki Okushi
39407c9ab7
Rollup merge of #68454 - GuillaumeGomez:clean-up-e0214, r=Dylan-DPC
...
clean up E0214 explanation
r? @Dylan-DPC
2020-01-28 10:48:12 +09:00
Yuki Okushi
dc33cd3500
Rollup merge of #68412 - GuillaumeGomez:clean-up-e0207, r=Dylan-DPC
...
Clean up E0207 explanation
r? @Dylan-DPC
2020-01-28 10:48:10 +09:00
Yuki Okushi
2bfa058074
Rollup merge of #68383 - GuillaumeGomez:clean-up-e0205, r=Dylan-DPC
...
Clean up E0205 explanation
r? @Dylan-DPC
2020-01-28 10:48:05 +09:00
Guillaume Gomez
4b0fe2ac63
Clean up E0262 explanation
2020-01-27 17:43:02 +01:00
Guillaume Gomez
833ffd7b83
Update src/librustc_error_codes/error_codes/E0220.md
...
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-01-27 16:06:38 +01:00
Yuki Okushi
5774dd053b
Rollup merge of #68540 - GuillaumeGomez:err-codes-cleanup-e0229-e0261, r=Dylan-DPC
...
clean up error codes E0229 and E0261
r? @Dylan-DPC
2020-01-26 06:37:24 +09:00
Guillaume Gomez
7fb8f7d85d
clean up error codeS E0229 and E0261
2020-01-25 17:41:55 +01:00
Yuki Okushi
e22ae2c096
Rollup merge of #68509 - GuillaumeGomez:clean-up-err-codes-e0223-e0225, r=Dylan-DPC
...
Clean up error codes E0223 and E0225 explanations
r? @Dylan-DPC
2020-01-25 07:45:15 +09:00
Guillaume Gomez
768f6f9340
Clean up error codes E0223 and E0225 explanations
2020-01-24 12:56:32 +01:00
Guillaume Gomez
0f5ed4d2cd
Clean up E0207 explanation
2020-01-23 13:37:05 +01:00
Guillaume Gomez
3850d96379
clean up error codes explanation
2020-01-23 13:29:15 +01:00
Guillaume Gomez
94fcda0e13
clean up E0214 explanation
2020-01-22 14:25:35 +01:00
Guillaume Gomez
6590339c31
Clean up E0205 explanation
2020-01-21 10:40:36 +01:00
Dylan DPC
0259c10385
Rollup merge of #68365 - GuillaumeGomez:clean-up-err-codes-2, r=Dylan-DPC
...
Clean up error codes
r? @Dylan-DPC
2020-01-20 11:14:51 +05:30
Dylan DPC
fb86b820bb
Rollup merge of #68353 - Centril:code-liberation, r=petrochenkov
...
Remove `rustc_error_codes` deps except in `rustc_driver`
Remove dependencies on `rustc_error_codes` in all crates except for `rustc_driver`.
This has some benefits:
1. Adding a new error code when hacking on the compiler only requires rebuilding at most `rustc_error_codes`, `rustc_driver`, and the reflexive & transitive closure of the crate where the new error code is being added and its reverse dependencies. This improves time-to-UI-tests (TTUT).
2. Adding an error description to an error code only requires rebuilding `rustc_error_codes` and `rustc_driver`. This should substantially improve TTUT.
r? @petrochenkov
cc @rust-lang/wg-diagnostics
2020-01-20 11:14:48 +05:30
Guillaume Gomez
a9aa2dfe84
clean up E0204 explanation
2020-01-19 15:35:55 +01:00
Guillaume Gomez
0c7f40f3b2
clean up E0201 explanation
2020-01-19 15:35:44 +01:00
Dylan DPC
a29ba00107
Rollup merge of #68247 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC
...
Clean up err codes
r? @Dylan-DPC
2020-01-19 17:22:07 +05:30
Mazdak Farrokhzad
de6046fa0f
remove rustc_error_codes deps except in rustc_driver
2020-01-18 21:53:53 +01:00
Mazdak Farrokhzad
2a12ef8134
Rollup merge of #68340 - GuillaumeGomez:clean-up-e0200, r=Dylan-DPC
...
clean up e0200 explanation
r? @Dylan-DPC
2020-01-18 19:36:05 +01:00
Mazdak Farrokhzad
0aebb08115
slice_patterns: adjust error codes
2020-01-18 17:59:44 +01:00
Guillaume Gomez
9746b05da9
clean up e0200 explanation
2020-01-18 15:06:02 +01:00
Tyler Mandry
14d779c3f0
Rollup merge of #68317 - GuillaumeGomez:clean-up-e0199, r=Dylan-DPC
...
Clean up E0199 explanation
r? @Dylan-DPC
2020-01-17 17:28:23 -08:00
Tyler Mandry
2a1ab29806
Rollup merge of #68279 - GuillaumeGomez:clean-up-e0198, r=Dylan-DPC
...
Clean up E0198 explanation
r? @Dylan-DPC
2020-01-17 17:28:17 -08:00
Guillaume Gomez
e8a4b9319c
Clean up E0199 explanation
2020-01-17 19:54:07 +01:00
Guillaume Gomez
9c6c2f16f0
Clean up E0198 explanation
2020-01-17 19:47:48 +01:00
Esteban Küber
029a9c6253
review comments
2020-01-16 11:32:50 -08:00
Esteban Küber
d7a6212401
review comments
2020-01-16 09:49:14 -08:00
Esteban Küber
c305ac31c0
Fix error index test
2020-01-16 09:49:13 -08:00
Esteban Küber
4a75ef91f3
fix error code index comment
2020-01-16 09:49:13 -08: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
Guillaume Gomez
6f1bdb47f2
clean up E0197 explanation
2020-01-16 13:54:58 +01:00
Guillaume Gomez
a1a0aea9e3
clean up E0195 explanation
2020-01-16 13:54:58 +01:00
Yuki Okushi
20c49fc797
Rollup merge of #68211 - GuillaumeGomez:add-failing-example-e0170, r=Dylan-DPC
...
Add failing example for E0170 explanation
r? @Dylan-DPC
2020-01-15 21:51:48 +09:00
Dylan DPC
6801cf436b
Update E0170.md
2020-01-15 11:52:21 +05:30
Guillaume Gomez
5076a3efc7
Add failing example for E0170 explanation
2020-01-14 14:04:03 +01:00
Yuki Okushi
d6d5b74fb2
Rollup merge of #68176 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPC
...
Clean up err codes
r? @Dylan-DPC
2020-01-14 14:02:28 +09:00
Guillaume Gomez
3ec0a84e6e
Clean up E0192 explanation
2020-01-13 15:02:49 +01:00
Guillaume Gomez
11f74189f1
Clean up E0191 explanation
2020-01-13 15:02:49 +01:00
bors
bf84eb538f
Auto merge of #67850 - GuillaumeGomez:err-codes-checkup, r=Mark-Simulacrum
...
Error codes checkup and rustdoc test fix
This PR does a few things:
* fix how rustdoc checks that an error code has been thrown (it only checked for "E0XXX" so if it appeared in the output because the file has it in its name or wherever, it passed the test, which was incorrect)
* fix the failing code examples that weren't throwing the expected error code
2020-01-13 12:49:12 +00:00
Yuki Okushi
574ef55ea7
Rollup merge of #68157 - GuillaumeGomez:clean-up-e0186, r=Dylan-DPC
...
Clean up E0186 explanation
r? @Dylan-DPC
2020-01-13 16:44:23 +09:00
Guillaume Gomez
34186ef642
Clean up E0186 explanation
2020-01-12 17:50:14 +01:00
Guillaume Gomez
5b7d64e947
Fix error codes explanation' code examples
2020-01-12 17:22:42 +01:00
Mazdak Farrokhzad
34231d6c0b
Rollup merge of #68070 - GuillaumeGomez:clean-up-e0185, r=Dylan-DPC
...
clean up E0185 explanation
r? @Dylan-DPC
2020-01-11 12:36:10 +01:00
Dylan DPC
4fadb507f4
Update E0185.md
2020-01-10 23:56:00 +05:30