summary refs log tree commit diff
path: root/src/librustc_error_codes
AgeCommit message (Collapse)AuthorLines
2020-03-10Rollup merge of #69847 - GuillaumeGomez:cleanup-e0393, r=Dylan-DPCMazdak Farrokhzad-1/+2
clean up E0393 explanation r? @Dylan-DPC
2020-03-09clean up E0393 explanationGuillaume Gomez-1/+2
2020-03-08Rollup merge of #69820 - GuillaumeGomez:cleanup-e0392, r=Dylan-DPCMazdak Farrokhzad-2/+3
clean up E0392 explanation r? @Dylan-DPC
2020-03-08Rollup merge of #69807 - GuillaumeGomez:cleanup-e0391, r=Dylan-DPCMazdak Farrokhzad-3/+5
Cleanup E0391 explanation r? @Dylan-DPC
2020-03-08Rollup merge of #69771 - GuillaumeGomez:cleanup-e0390, r=Dylan-DPCMazdak Farrokhzad-1/+3
Cleanup E0390 explanation r? @Dylan-DPC
2020-03-08clean up E0392 explanationGuillaume Gomez-2/+3
2020-03-08Cleanup E0391 explanationGuillaume Gomez-3/+5
2020-03-06fix various typosMatthias Krüger-2/+2
2020-03-06Cleanup E0390 explanationGuillaume Gomez-1/+3
2020-03-05Rollup merge of #69732 - GuillaumeGomez:cleanup-e0382-e0384, r=Dylan-DPCDylan DPC-3/+2
Clean E0382 and E0384 explanations r? @Dylan-DPC
2020-03-05Rollup merge of #69697 - GuillaumeGomez:explanation-e0380, r=Dylan-DPCDylan DPC-2/+12
Add explanation for E0380 r? @Dylan-DPC
2020-03-05Clean E0382 and E0384 explanationsGuillaume Gomez-3/+2
2020-03-04Add explanation for E0380Guillaume Gomez-2/+12
2020-03-03Rollup merge of #69670 - GuillaumeGomez:explain-e0379, r=Dylan-DPCDylan DPC-0/+12
Add explanation for E0379 r? @Dylan-DPC
2020-03-03Add explanation for E0379Guillaume Gomez-0/+12
2020-03-03Rollup merge of #69634 - GuillaumeGomez:clean-up-e0378, r=Dylan-DPCYuki Okushi-20/+22
clean up E0378 explanation r? @Dylan-DPC
2020-03-03Rollup merge of #69620 - thekuom:doc/61137-add-long-error-code-e0719, ↵Yuki Okushi-1/+36
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-02clean up E0378 explanationGuillaume Gomez-20/+22
2020-03-02Auto merge of #69442 - jakevossen5:master, r=Mark-Simulacrumbors-2/+3
`--explain` disambiguates no long description and invalid error codes Closes #44710 First code contribution here, so feedback is very much appreciated! cc @zackmdavis cc @Mark-Simulacrum
2020-03-01doc(librustc_error_codes): add long error explanation for E0719Matthew Kuo-1/+36
Progresses #61137
2020-03-01Rollup merge of #69607 - GuillaumeGomez:cleanup-e0376, r=Dylan-DPCDylan DPC-10/+11
Clean up E0376 explanation r? @Dylan-DPC
2020-03-01Rollup merge of #69577 - GuillaumeGomez:cleanup-e0375, r=Dylan-DPCDylan DPC-8/+11
Clean up E0375 explanation r? @Dylan-DPC
2020-03-01Rollup merge of #69554 - GuillaumeGomez:cleanup-e0374, r=Dylan-DPCDylan DPC-6/+8
Cleanup e0374 r? @Dylan-DPC
2020-03-01Clean up E0376 explanationGuillaume Gomez-10/+11
2020-02-29added `try_find_description` to distinguish no desc from invalid codeJake Vossen-2/+3
2020-02-29Clean up E0375 explanationGuillaume Gomez-8/+11
2020-02-29Clean up E0374 explanationGuillaume Gomez-6/+8
2020-02-28Wording improvementGuillaume Gomez-2/+4
2020-02-28Add explanation for E0747Guillaume Gomez-0/+14
2020-02-28Add E0747 error codeGuillaume Gomez-0/+1
2020-02-27Auto merge of #68434 - varkor:astconv-mismatch-error, r=nikomatsakisbors-0/+21
Move generic arg/param validation to `create_substs_for_generic_args` to resolve various const generics issues This changes some diagnostics, but I think they're around as helpful as the previous ones, and occur infrequently regardless. Fixes https://github.com/rust-lang/rust/issues/68257. Fixes https://github.com/rust-lang/rust/issues/68398. r? @eddyb
2020-02-27Rollup merge of #69480 - GuillaumeGomez:clean-up-e0373, r=Dylan-DPCYuki Okushi-3/+7
Clean up E0373 explanation r? @Dylan-DPC
2020-02-26Clean up E0373 explanationGuillaume Gomez-3/+7
2020-02-26Auto merge of #61812 - jonas-schievink:assoc-ty-defaults, r=nikomatsakisbors-1/+3
Implement RFC 2532 – Associated Type Defaults This is a partial implementation that is still missing the changes to object types, since I ran into some trouble while implementing that. I'm opening this part already to get feedback on the implementation and the unexpected test fallout (see my comments below). The remaining changes can be done in a later PR. Blockers before this can land: * [x] Resolve unsoundness around interaction with specialization (https://github.com/rust-lang/rust/pull/61812#discussion_r300504010) - #64564 cc https://github.com/rust-lang/rust/issues/29661 Fixes #53907 Fixes #54182 Fixes #62211 Fixes #41868 Fixes #63593 Fixes #47385 Fixes #43924 Fixes #32350 Fixes #26681 Fixes https://github.com/rust-lang/rust/issues/67187
2020-02-26Rollup merge of #69457 - GuillaumeGomez:clean-up-e0370-e0371, r=Dylan-DPCDylan DPC-6/+10
Clean up e0370 e0371 r? @Dylan-DPC
2020-02-25Clean up E0371 explanationGuillaume Gomez-5/+7
2020-02-25Clean up E0370 explanationGuillaume Gomez-1/+3
2020-02-24Rollup merge of #69427 - GuillaumeGomez:cleanup-e0368-e0369, r=Dylan-DPCDylan DPC-2/+5
Cleanup e0368 e0369 r? @Dylan-DPC
2020-02-24Clean up E0368 and E0369 explanationsGuillaume Gomez-2/+5
2020-02-24Rollup merge of #69394 - GuillaumeGomez:clean-up-0367, r=Dylan-DPCPietro Albini-2/+3
Clean up E0367 explanation r? @Dylan-DPC
2020-02-24Rollup merge of #69372 - yawpitch:master, r=varkorPietro Albini-69/+109
Updates links in various Compiler Error Index entries Currently many of the links in the online https://doc.rust-lang.org/error-index.html are not clickable, and many of them don't resolve correctly as they point to older versions of rustbyexample and the reference.
2020-02-23Update linksMichael Morehouse-69/+109
Formatting fixes Now that I can actually run `python x.py test src/tools/tidy` locally ... my god it takes a long time to compile when you're on a cellular connection. Removing unnecessary whitespaces Updates src/test/ui/json-short.stderr golden test file Fixes test failure by updating the golden file for changes in src/librustc_error_codes/error_codes/E0601.md Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0661.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0662.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0663.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0664.md Co-Authored-By: varkor <github@varkor.com> Update src/test/ui/json-short.stderr Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Apply suggestions from code review Co-Authored-By: varkor <github@varkor.com> Fixing 1 character over 80 cascade
2020-02-23Clean up E0367 explanationGuillaume Gomez-2/+3
2020-02-22Rollup merge of #69346 - GuillaumeGomez:clean-up-e032x-explanations, r=Dylan-DPCDylan DPC-5/+10
Clean up E0323, E0324, E0325 and E0326 explanations r? @Dylan-DPC
2020-02-22Expand the documentation for E0747varkor-0/+9
2020-02-22Refactor `create_substs_for_generic_args` a littlevarkor-3/+4
2020-02-22Move generic arg / param validation to `create_substs_for_generic_args`varkor-0/+11
2020-02-21Mark E0399.md as obsoleteJonas Schievink-3/+3
2020-02-21Mark E0399 test as obsoleteJonas Schievink-2/+4
2020-02-21Clean up E0326 explanationGuillaume Gomez-3/+5