about summary refs log tree commit diff
path: root/src/librustc_error_codes
AgeCommit message (Collapse)AuthorLines
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
2020-02-21Clean up E0323, E0324 and E0325 explanationsGuillaume Gomez-2/+5
2020-02-20Rollup merge of #69311 - GuillaumeGomez:clean-up-e0321-e0322, r=Dylan-DPCMazdak Farrokhzad-1/+13
Clean up E0321 and E0322 r? @Dylan-DPC
2020-02-20Greatly improve E0322 explanationGuillaume Gomez-0/+10
2020-02-20clean up E0321 explanationGuillaume Gomez-1/+3
2020-02-20Rollup merge of #69287 - GuillaumeGomez:clean-e0317, r=Dylan-DPCDylan DPC-7/+23
Clean up E0317 explanation r? @Dylan-DPC
2020-02-19Clean up E0317 explanationGuillaume Gomez-7/+23
2020-02-18Rollup merge of #69233 - GuillaumeGomez:cleanup-e0310, r=Dylan-DPCDylan DPC-4/+9
Clean up E0310 explanation r? @Dylan-DPC
2020-02-18Clean up E0310 explanationGuillaume Gomez-4/+9
2020-02-15Clean up E0309 explanationGuillaume Gomez-9/+13
2020-02-11Rollup merge of #69055 - GuillaumeGomez:clean-up-e0307, r=Dylan-DPCDylan DPC-3/+17
Clean up E0307 explanation r? @Dylan-DPC
2020-02-11Clean up E0307 explanationGuillaume Gomez-3/+17
2020-02-10Rollup merge of #69007 - GuillaumeGomez:clean-up-e0283, r=Dylan-DPCDylan DPC-4/+5
Clean up E0283 explanation r? @Dylan-DPC
2020-02-10Rollup merge of #68908 - jwhite927:E0637, r=Dylan-DPCDylan DPC-1/+33
Add long error code explanation message for E0637 Reference issue [#61137](https://github.com/rust-lang/rust/issues/61137) To incorporate a long error description for E0637, I have made the necessary modification to error_codes.rs and added error_codes/E0637.md, and blessed the relevant .stderror files. ~~, however when I build rustc stage 1, I am unable to make `$ rustc --explain E0637` work even though rustc appears to be able to call up the long error explanations for other errors. I wanted to guarantee this would work before moving on the blessing the various ui tests that have been affected. @GuillaumeGomez Do you know the most likely reason(s) why this would be the case?~~ Update: `$ rustc --explain E0637` works now.
2020-02-10Rollup merge of #68897 - GuillaumeGomez:clean-up-e0275, r=Dylan-DPCDylan DPC-4/+6
clean up E0275 explanation r? @Dylan-DPC
2020-02-10clean up E0275 explanationGuillaume Gomez-4/+6
2020-02-10Clean up E0283 explanationGuillaume Gomez-4/+5
2020-02-09Auto merge of #68975 - Dylan-DPC:rollup-jzab8oh, r=Dylan-DPCbors-8/+14
Rollup of 7 pull requests Successful merges: - #68718 (Move `rustc_hir::def_id` to `rustc_span::def_id`) - #68834 (Fix and test implementation of BTreeMap's first/last_entry, pop_first/last) - #68857 (perf: Reduce Vec allocations in normalization by passing &mut Vec) - #68918 (Don't use the word "unwrap" to describe "unwrap" methods) - #68946 (Mark several functions and methods in core::cmp as #[must_use]) - #68958 (Clean up E0277 and E0282 explanations) - #68960 (codegen: misc cleanups around debuginfo scopes and locations.) Failed merges: r? @ghost
2020-02-09Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasperbors-1/+5
Initial implementation of `#![feature(move_ref_pattern)]` Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary. Closes #45600. Tracking issue: #68354. r? @matthewjasper
2020-02-09Rollup merge of #68958 - GuillaumeGomez:clean-up-e0277-e0282, r=Dylan-DPCDylan DPC-8/+14
Clean up E0277 and E0282 explanations r? @Dylan-DPC
2020-02-08Tidied up E0637.mdJosh White-3/+3