about summary refs log tree commit diff
path: root/src/librustc_error_codes
AgeCommit message (Collapse)AuthorLines
2020-02-08Corrected E0637.md based on test failuresJosh White-50/+23
2020-02-08Clean up E0277 and E0282 explanationsGuillaume Gomez-8/+14
2020-02-08Corrected E0637.md based on test failureJosh White-2/+2
2020-02-08Added compiler flags to example code, removed unexpected curlyJosh White-4/+2
2020-02-08Removed trailing white spacesJosh White-2/+2
2020-02-07Merge branch 'master' of https://github.com/jwhite927/rust into E0637Josh White-17/+24
2020-02-07Cleaned up long error descriptionJosh White-2/+1
2020-02-07performed --bless of 15 ui tests affectedJosh White-19/+50
2020-02-07Rollup merge of #68928 - GuillaumeGomez:cleanup-e0276, r=Dylan-DPCDylan DPC-2/+3
clean up E0276 explanation r? @Dylan-DPC
2020-02-07clean up E0276 explanationGuillaume Gomez-2/+3
2020-02-06Tidied up the long error descriptionJosh White-4/+1
2020-02-06Edited error descriptionJosh White-4/+4
2020-02-06Rollup merge of #68894 - JohnTitor:update-e0565, r=Dylan-DPCDylan DPC-5/+9
Update E0565 examples Fixes #68892 r? @GuillaumeGomez
2020-02-06Rollup merge of #68888 - tspiteri:ignore-to-compile_fail, r=petrochenkovDylan DPC-5/+7
error code examples: replace some more ignore with compile_fail Now that #68664 has been merged and `compile_fail` attempts a full build rather than `--emit=metadata`, these errors should be caught by `compile_fail` and do not need to be ignored.
2020-02-06Rollup merge of #68524 - jonas-schievink:generator-resume-arguments, r=ZoxcDylan DPC-5/+5
Generator Resume Arguments cc https://github.com/rust-lang/rust/issues/43122 and https://github.com/rust-lang/rust/issues/56974 Blockers: * [x] Fix miscompilation when resume argument is live across a yield point (https://github.com/rust-lang/rust/pull/68524#issuecomment-578459069) * [x] Fix 10% compile time regression in `await-call-tree` benchmarks (https://github.com/rust-lang/rust/pull/68524#issuecomment-578487162) * [x] Fix remaining 1-3% regression (https://github.com/rust-lang/rust/pull/68524#issuecomment-579566255) - resolved (https://github.com/rust-lang/rust/pull/68524#issuecomment-581144901) * [x] Make dropck rules account for resume arguments (https://github.com/rust-lang/rust/pull/68524#issuecomment-578541137) Follow-up work: * Change async/await desugaring to make use of this feature * Rewrite [`box_region.rs`](https://github.com/rust-lang/rust/blob/3d8778d767f0dde6fe2bc9459f21ead8e124d8cb/src/librustc_data_structures/box_region.rs) to use resume arguments (this shows up in profiles too)
2020-02-06Revised error long descriptionJosh White-8/+20
2020-02-06Added long error description & modifed error_codes.rsJosh White-1/+23
2020-02-07Update E0565 examplesYuki Okushi-5/+9
2020-02-06Rollup merge of #68869 - GuillaumeGomez:err-explanation-e0271, r=Dylan-DPCDylan DPC-5/+7
clean up E0271 explanation r? @Dylan-DPC
2020-02-06error code examples: replace some more ignore with compile_failTrevor Spiteri-5/+7
Now that compile_fail attempts a full build rather than --emit=metadata, these errors should be caught by compile_fail and do not need to be ignored.
2020-02-06Auto merge of #68664 - tspiteri:no_run-complete-build, r=nikomatsakisbors-3/+3
rustdoc: attempt full build for compile_fail test Some code fails when doing a full build but does not fail when only emitting metadata. This commit makes sure compile_fail tests for such code behave as expected, that is, the test succeeds because the compilation fails. Fixes #67771.
2020-02-05clean E0271 explanationGuillaume Gomez-5/+7
2020-02-05Rollup merge of #68832 - GuillaumeGomez:clean-up-3-err-codes, r=estebankDylan DPC-6/+11
Clean up E0264, E0267 and E0268 explanations r? @Dylan-DPC
2020-02-04Clean up E0264, E0267 and E0268 explanationsGuillaume Gomez-6/+11
2020-02-03Rollup merge of #68777 - GuillaumeGomez:clean-up-e0263, r=Dylan-DPCDylan DPC-4/+13
Clean up E0263 explanation r? @Dylan-DPC
2020-02-02Clean up E0263 explanationGuillaume Gomez-4/+13
2020-02-02move_ref_pattern: adjust error indexMazdak Farrokhzad-1/+5
2020-02-02Add a resume type parameter to `Generator`Jonas Schievink-5/+5
2020-01-30error code examples: replace some ignore with compile_failTrevor Spiteri-3/+3
2020-01-29Rollup merge of #68582 - LeSeulArtichaut:code-explanations, r=Dylan-DPCYuki Okushi-1/+27
Add E0727 long explanation Add long explanation for the `E0727` error code (async generators not yet supported). Part of #61137 r? @GuillaumeGomez
2020-01-28Add E0727 long explanationLeSeulArtichaut-1/+27
2020-01-28Rollup merge of #68573 - GuillaumeGomez:clean-up-e0262, r=Dylan-DPCYuki Okushi-3/+7
Clean up E0262 explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68482 - GuillaumeGomez:clean-up-err-codes, r=Dylan-DPCYuki Okushi-3/+6
clean up error codes explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68454 - GuillaumeGomez:clean-up-e0214, r=Dylan-DPCYuki Okushi-4/+9
clean up E0214 explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68412 - GuillaumeGomez:clean-up-e0207, r=Dylan-DPCYuki Okushi-13/+17
Clean up E0207 explanation r? @Dylan-DPC
2020-01-28Rollup merge of #68383 - GuillaumeGomez:clean-up-e0205, r=Dylan-DPCYuki Okushi-5/+11
Clean up E0205 explanation r? @Dylan-DPC
2020-01-27Clean up E0262 explanationGuillaume Gomez-3/+7
2020-01-27Update src/librustc_error_codes/error_codes/E0220.mdGuillaume Gomez-1/+1
Co-Authored-By: Dylan DPC <dylan.dpc@gmail.com>
2020-01-26Rollup merge of #68540 - GuillaumeGomez:err-codes-cleanup-e0229-e0261, ↵Yuki Okushi-4/+5
r=Dylan-DPC clean up error codes E0229 and E0261 r? @Dylan-DPC
2020-01-25clean up error codeS E0229 and E0261Guillaume Gomez-4/+5
2020-01-25Rollup merge of #68509 - GuillaumeGomez:clean-up-err-codes-e0223-e0225, ↵Yuki Okushi-3/+7
r=Dylan-DPC Clean up error codes E0223 and E0225 explanations r? @Dylan-DPC
2020-01-24Clean up error codes E0223 and E0225 explanationsGuillaume Gomez-3/+7
2020-01-23Clean up E0207 explanationGuillaume Gomez-13/+17
2020-01-23clean up error codes explanationGuillaume Gomez-3/+6
2020-01-22clean up E0214 explanationGuillaume Gomez-4/+9
2020-01-21Clean up E0205 explanationGuillaume Gomez-5/+11
2020-01-20Rollup merge of #68365 - GuillaumeGomez:clean-up-err-codes-2, r=Dylan-DPCDylan DPC-10/+13
Clean up error codes r? @Dylan-DPC
2020-01-20Rollup merge of #68353 - Centril:code-liberation, r=petrochenkovDylan DPC-9/+1
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-19clean up E0204 explanationGuillaume Gomez-7/+10
2020-01-19clean up E0201 explanationGuillaume Gomez-3/+3