| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-06-02 | Rollup merge of #72880 - GuillaumeGomez:cleanup-e0637, r=Dylan-DPC | Yuki Okushi | -1/+4 | |
| Clean up E0637 explanation r? @Dylan-DPC | ||||
| 2020-06-01 | Clean up E0637 explanation | Guillaume Gomez | -1/+4 | |
| 2020-06-01 | Rollup merge of #72818 - GuillaumeGomez:cleanup-e0622, r=Dylan-DPC | Dylan DPC | -3/+11 | |
| Clean up E0622 explanation r? @Dylan-DPC | ||||
| 2020-05-31 | Clean up E0622 explanation | Guillaume Gomez | -3/+11 | |
| 2020-05-30 | Rollup merge of #72540 - davidtwco:issue-67552-mono-collector-comparison, ↵ | Ralf Jung | -1/+1 | |
| r=varkor mir: adjust conditional in recursion limit check Fixes #67552. This PR adjusts the condition used in the recursion limit check of the monomorphization collector, from `>` to `>=`. In #67552, the test case had infinite indirect recursion, repeating a handful of functions (from the perspective of the monomorphization collector): `rec` -> `identity` -> `Iterator::count` -> `Iterator::fold` -> `Iterator::next` -> `rec`. During this process, `resolve_associated_item` was invoked for `Iterator::fold` (during the construction of an `Instance`), and ICE'd due to substitutions needing inference. However, previous iterations of this recursion would have called this function for `Iterator::fold` - and did! - and succeeded in doing so (trivially checkable from debug logging, `()` is present where `_` is in the substs of the failing execution). The expected outcome of this test case would be a recursion limit error (which is present when the `identity` fn indirection is removed), and the recursion depth of `rec` is increasing (other functions finish collecting their neighbours and thus have their recursion depths reset). When the ICE occurs, the recursion depth of `rec` is 256 (which matches the recursion limit), which suggests perhaps that a different part of the compiler is using a `>=` comparison and returning a different result on this recursion rather than what it returned in every previous recursion, thus stopping the monomorphization collector from reporting an error on the next recursion, where `recursion_depth_of_rec > 256` would have been true. With grep and some educated guesses, we can determine that the recursion limit check at line 818 in `src/librustc_trait_selection/traits/project.rs` is the other check that is using a different comparison. Modifying either comparison to be `>` or `>=` respectively will fix the error, but changing the monomorphization collector produces the nicer error. | ||||
| 2020-05-29 | Rollup merge of #72731 - GuillaumeGomez:cleanup-e0619, r=Dylan-DPC | Dylan DPC | -0/+1 | |
| Add missing empty line in E0619 explanation r? @Dylan-DPC | ||||
| 2020-05-29 | Add missing empty line in E0619 explanation | Guillaume Gomez | -0/+1 | |
| 2020-05-29 | Rollup merge of #72495 - GuillaumeGomez:cleanup-e0601, r=Dylan-DPC | Yuki Okushi | -2/+3 | |
| Improve E0601 explanation r? @Dylan-DPC | ||||
| 2020-05-29 | Rollup merge of #72605 - GuillaumeGomez:cleanup-e0617, r=Dylan-DPC | Dylan DPC | -0/+11 | |
| Add working example for E0617 explanation r? @Dylan-DPC | ||||
| 2020-05-28 | standardize limit comparisons with `Limit` type | David Wood | -1/+1 | |
| This commit introduces a `Limit` type which is used to ensure that all comparisons against limits within the compiler are consistent (which can result in ICEs if they aren't). Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-05-27 | Add working example for E0617 explanation | Guillaume Gomez | -0/+11 | |
| 2020-05-25 | Rollup merge of #72567 - GuillaumeGomez:cleanup-e0608, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| Clean up E0608 explanation r? @Dylan-DPC | ||||
| 2020-05-25 | Clean up E0608 explanation | Guillaume Gomez | -1/+1 | |
| 2020-05-24 | Rollup merge of #72530 - GuillaumeGomez:cleanup-e0602, r=Dylan-DPC | Ralf Jung | -2/+2 | |
| Clean up E0602 explanation r? @Dylan-DPC | ||||
| 2020-05-24 | Clean up E0602 explanation | Guillaume Gomez | -2/+2 | |
| 2020-05-23 | Improve E0601 explanation | Guillaume Gomez | -2/+3 | |
| 2020-05-22 | Rollup merge of #72461 - GuillaumeGomez:cleanup-e0600, r=Dylan-DPC | Dylan DPC | -1/+1 | |
| Clean up E0600 explanation r? @Dylan-DPC | ||||
| 2020-05-22 | Rollup merge of #72375 - GuillaumeGomez:cleanup-e0599, r=Dylan-DPC | Dylan DPC | -0/+15 | |
| Improve E0599 explanation r? @Dylan-DPC | ||||
| 2020-05-22 | Rollup merge of #72345 - GuillaumeGomez:cleanup-e0593, r=Dylan-DPC | Ralf Jung | -0/+11 | |
| Clean up E0593 explanation r? @Dylan-DPC | ||||
| 2020-05-22 | Rollup merge of #72235 - GuillaumeGomez:cleanup-E0590, r=Dylan-DPC | Ralf Jung | -3/+7 | |
| Clean up E0590 explanation r? @Dylan-DPC | ||||
| 2020-05-22 | Clean up E0590 explanation | Guillaume Gomez | -3/+7 | |
| 2020-05-22 | Clean up E0600 explanation | Guillaume Gomez | -1/+1 | |
| 2020-05-20 | Improve E0599 explanation | Guillaume Gomez | -0/+15 | |
| 2020-05-20 | Implement `#[ffi_const]` and `#[ffi_pure]` function attributes | Matthias Schiffer | -0/+3 | |
| Introduce function attribute corresponding to the `const`/`pure` attributes supported by GCC, clang and other compilers. Based on the work of gnzlbg <gonzalobg88@gmail.com>. | ||||
| 2020-05-19 | Clean up E0593 explanation | Guillaume Gomez | -0/+11 | |
| 2020-05-19 | Merge branch 'master' into issue-69276 | csmoe | -15/+96 | |
| 2020-05-18 | Add documentation for asm! | Amanieu d'Antras | -10/+10 | |
| 2020-05-18 | bless suggestion on spell out | csmoe | -3/+6 | |
| 2020-05-17 | Rollup merge of #72259 - crlf0710:ascii_only_check, r=petrochenkov | Ralf Jung | -0/+34 | |
| Disallow forbidden usage of non-ascii identifiers. Part of RFC2457, this tightens allowed identifiers back to ascii only in two situations. r? @petrochenkov | ||||
| 2020-05-17 | Disallow forbidden usage of non-ascii identifiers. | Charles Lew | -0/+34 | |
| 2020-05-16 | create error code E0754 | csmoe | -0/+30 | |
| 2020-05-16 | Fix typo Arbintrary to Arbitrary | Rustin-Liu | -1/+1 | |
| Signed-off-by: Rustin-Liu <rustin.liu@gmail.com> | ||||
| 2020-05-14 | Rollup merge of #72191 - GuillaumeGomez:cleanup-e0589, r=Dylan-DPC | Dylan DPC | -0/+2 | |
| Clean up E0589 explanation r? @Dylan-DPC | ||||
| 2020-05-14 | Rollup merge of #72127 - jademcgough:long-error-explanation-E0228, ↵ | Dylan DPC | -1/+41 | |
| r=petrochenkov add long error explanation for E0228 Add long explanation for the E0228 error code Part of #61137 Let me know if this is wrong at all (or can be written more clearly), I'm still learning Rust. | ||||
| 2020-05-14 | Clean up E0589 explanation | Guillaume Gomez | -0/+2 | |
| 2020-05-14 | Rollup merge of #72169 - GuillaumeGomez:cleanup-e0582, r=Dylan-DPC | Ralf Jung | -2/+2 | |
| Clean up E0582 explanation r? @Dylan-DPC | ||||
| 2020-05-14 | Rollup merge of #72137 - GuillaumeGomez:cleanup-e0581, r=Dylan-DPC | Ralf Jung | -3/+6 | |
| Clean up E0581 explanation r? @Dylan-DPC | ||||
| 2020-05-13 | Clean up E0582 explanation | Guillaume Gomez | -2/+2 | |
| 2020-05-12 | add long error explanation for E0228 | Jade McGough | -1/+41 | |
| 2020-05-12 | Clean up E0581 explanation | Guillaume Gomez | -3/+6 | |
| 2020-05-11 | Rollup merge of #72107 - GuillaumeGomez:cleanup-e0579, r=Dylan-DPC | Dylan DPC | -4/+6 | |
| Clean up E0579 explanation r? @Dylan-DPC | ||||
| 2020-05-11 | Rollup merge of #72077 - GuillaumeGomez:cleanup-E0571, r=Dylan-DPC | Dylan DPC | -3/+3 | |
| Improve E0571 wording r? @Dylan-DPC | ||||
| 2020-05-11 | Clean up E0579 explanation | Guillaume Gomez | -4/+6 | |
| 2020-05-10 | Improve E0571 wording | Guillaume Gomez | -3/+3 | |
| 2020-05-09 | Add missing backtick in E0569 explanation | Guillaume Gomez | -1/+1 | |
| 2020-05-03 | Add stability attribute to E0539 error examples | unexge | -0/+2 | |
| 2020-05-02 | Add `#![feature(staged_api)]` attribute to E0539 error examples | unexge | -0/+4 | |
| 2020-05-02 | Add long error explanation for E0539 | unexge | -1/+43 | |
| 2020-04-24 | Rollup merge of #71426 - contrun:fix-e0751-explanation, r=estebank | Dylan DPC | -1/+1 | |
| fix error code in E0751.md reference: https://github.com/rust-lang/rust/issues/71304 | ||||
| 2020-04-23 | Rollup merge of #71461 - GuillaumeGomez:improve-e0567, r=Dylan-DPC | Dylan DPC | -4/+2 | |
| Improve E0567 explanation r? @Dylan-DPC | ||||
