| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-02 | remove output-format test | Guillaume Gomez | -10/+0 | |
| 2020-03-02 | Replace ToJson with serde | Guillaume Gomez | -9/+14 | |
| 2020-03-02 | add tests for rustdoc output-format json | Guillaume Gomez | -0/+39 | |
| 2020-03-02 | Apply review feedback | Amanieu d'Antras | -24/+0 | |
| 2020-03-02 | Ignore broken no-landing-pads test | Amanieu d'Antras | -0/+1 | |
| 2020-03-02 | Test catch_unwind vanishing | Amanieu d'Antras | -0/+36 | |
| We execpt the try intrinsic to be a direct call if in -Cpanic=abort mode, and that catch_unwind optimizes out if calling a function that does not unwind. | ||||
| 2020-03-02 | Auto merge of #69257 - RalfJung:layout-visitor, r=eddyb | bors | -28/+28 | |
| Adjust Miri value visitor, and doc-comment layout components I realized that I still didn't have quite the right intuition for how our `LayoutDetails` work, so I had to adjust the Miri value visitor to the things I understood better now. I also added some doc-comments to `LayoutDetails` as a hopefully canonical place to note such things. The main visitor change is that we *first* look at all the fields (according to `FieldPlacement`), and *then* check the variants and handle `Multiple` appropriately. I did not quite realize how orthogonal "fields" and "variants" are. I also moved the check for the scalar ABI to *after* checking all the fields; this leads to better (more type-driven) error messages. And it looks like we can finally remove that magic hack for `ty::Generator`. :D r? @oli-obk for the Miri/visitor changes and @eddyb for the layout docs The Miri PR is at: https://github.com/rust-lang/miri/pull/1178 | ||||
| 2020-03-02 | stash API: remove panic to fix ICE. | Mazdak Farrokhzad | -0/+70 | |
| 2020-03-01 | encode `;` stmt w/o expr as `StmtKind::Empty` | Mazdak Farrokhzad | -22/+14 | |
| 2020-03-01 | Fix use of `has_infer_types` | Matthew Jasper | -14/+14 | |
| * Add a new method `has_infer_types_or_consts` that's used instead most of the time, since there's generally no reason to only consider types. * Remove use of `has_closure_types`, because closures are no longer implicitly linked to the `InferCtxt`. | ||||
| 2020-03-01 | doc(librustc_error_codes): add long error explanation for E0719 | Matthew Kuo | -0/+2 | |
| Progresses #61137 | ||||
| 2020-03-01 | `delay_span_bug` when codegen cannot select obligation | Esteban Küber | -0/+41 | |
| Fix #69602, introduced in #60126 by letting the compiler continue past type checking after encountering errors. | ||||
| 2020-03-01 | Rollup merge of #69598 - ollie27:rustdoc_crate-version_escape, r=GuillaumeGomez | Dylan DPC | -0/+6 | |
| rustdoc: HTML escape crate version As `--crate-version` accepts arbitrary strings they need to be escaped. r? @GuillaumeGomez | ||||
| 2020-03-01 | Rollup merge of #69605 - JohnTitor:opt-def-id, r=petrochenkov | Yuki Okushi | -6/+8 | |
| Use `opt_def_id()` over `def_id()` Fixes #69588 | ||||
| 2020-03-01 | Rollup merge of #69583 - LeSeulArtichaut:ice-69378, r=Centril | Yuki Okushi | -0/+17 | |
| Do not ICE on invalid type node after parse recovery Closes #69378. r? @estebank | ||||
| 2020-03-01 | Use `opt_def_id()` over `def_id()` | Yuki Okushi | -6/+8 | |
| 2020-03-01 | check_binding_alt_eq_ty: improve precision wrt. `if let`. | Mazdak Farrokhzad | -8/+8 | |
| 2020-03-01 | rustdoc: HTML escape crate version | Oliver Middleton | -0/+6 | |
| As `--crate-version` accepts arbitrary strings they need to be escaped. | ||||
| 2020-02-29 | Rename `syntax` to `rustc_ast` in source code | Vadim Petrochenkov | -19/+19 | |
| 2020-02-29 | Make it build again | Vadim Petrochenkov | -5/+5 | |
| 2020-03-01 | Make `rustc_attrs` tracking issue None | Yuki Okushi | -13/+0 | |
| 2020-02-29 | Auto merge of #69260 - GuillaumeGomez:create-E0747-error-code, r=varkor,estebank | bors | -3/+6 | |
| Create E0747 error code for unterminated raw strings Reopening of #66035. r? @estebank | ||||
| 2020-02-29 | Add regression test | LeSeulArtichaut | -0/+17 | |
| 2020-02-29 | Use TypeRelating for instantiating query responses | Matthew Jasper | -0/+33 | |
| 2020-02-29 | clarify a comment in the test | Ralf Jung | -1/+3 | |
| 2020-02-29 | we cannot short-circuit just becuase the Abi seems harmless | Ralf Jung | -2/+46 | |
| also add tests for ScalarPair enums | ||||
| 2020-02-29 | make it even more conservative, and note some FIXMEs | Ralf Jung | -0/+2 | |
| 2020-02-29 | test some more things that should not panic | Ralf Jung | -5/+14 | |
| 2020-02-29 | mem::zeroed/uninit: panic on types that do not permit zero-initialization | Ralf Jung | -102/+113 | |
| 2020-02-29 | Auto merge of #69255 - estebank:e0599-details, r=varkor | bors | -108/+328 | |
| Add more context to E0599 errors Point at the intermediary unfulfilled trait bounds. Fix #52523, fix #61661, cc #36513, fix #68131, fix #64417, fix #61768, cc #57457, cc #9082, fix #57994, cc #64934, cc #65149. | ||||
| 2020-02-28 | Ignore output for some platforms with diverging test output | Esteban Küber | -6/+18 | |
| Get around #53081. | ||||
| 2020-02-28 | Do not suggest implementing traits if present in predicates | Esteban Küber | -9/+2 | |
| 2020-02-28 | Reword message | Esteban Küber | -2/+2 | |
| 2020-02-28 | Reduce verbosity when suggesting restricting type params | Esteban Küber | -12/+0 | |
| 2020-02-28 | keep predicate order and tweak output | Esteban Küber | -74/+118 | |
| 2020-02-28 | Review comments: split requirement text to multiple lines for readability | Esteban Küber | -16/+32 | |
| 2020-02-28 | Account for arbitrary self types in E0599 | Esteban Küber | -17/+9 | |
| 2020-02-28 | Suggest constraining type parameters | Esteban Küber | -0/+75 | |
| 2020-02-28 | Tweak wording | Esteban Küber | -24/+24 | |
| 2020-02-28 | Mention the full path of the implementing trait | Esteban Küber | -24/+24 | |
| 2020-02-28 | Point at closure definitions | Esteban Küber | -5/+8 | |
| 2020-02-28 | Show information of chain of bound obligations | Esteban Küber | -15/+39 | |
| When the obligation that couldn't be fulfilled is specific to a nested obligation, maintain both the nested and parent obligations around for more accurate and detailed error reporting. | ||||
| 2020-02-28 | Track all predicates in errors, not just trait obligations | Esteban Küber | -11/+39 | |
| Surface associated type projection bounds that could not be fulfilled in E0599 errors. Always present the list of unfulfilled trait bounds, regardless of whether we're pointing at the ADT or trait that didn't satisfy it. | ||||
| 2020-02-28 | Deduplicate information in E0599 | Esteban Küber | -30/+10 | |
| 2020-02-28 | On single local candidate, use span label | Esteban Küber | -49/+72 | |
| 2020-02-28 | Reduce vebosity of E0599 | Esteban Küber | -50/+8 | |
| 2020-02-28 | Add more context to E0599 errors | Esteban Küber | -42/+126 | |
| Point at the intermediary unfullfilled trait bounds. | ||||
| 2020-02-28 | Auto merge of #69555 - Centril:rollup-e53lxz4, r=Centril | bors | -88/+463 | |
| Rollup of 10 pull requests Successful merges: - #68989 (Update RELEASES.md for 1.42.0) - #69340 (instantiate_value_path: on `SelfCtor`, avoid unconstrained tyvars) - #69384 (parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`) - #69452 (typeck: use `Pattern` obligation cause more for better diagnostics) - #69481 (use char instead of &str for single char patterns) - #69522 (error_derive_forbidden_on_non_adt: be more graceful) - #69538 (Stabilize `boxed_slice_try_from`) - #69539 (late resolve, visit_fn: bail early if there's no body.) - #69541 (Remove unneeded calls to format!()) - #69547 (remove redundant clones, references to operands, explicit boolean comparisons and filter(x).next() calls.) Failed merges: r? @ghost | ||||
| 2020-02-28 | Rollup merge of #69539 - Centril:fix-69401, r=petrochenkov | Mazdak Farrokhzad | -0/+15 | |
| late resolve, visit_fn: bail early if there's no body. Fixes https://github.com/rust-lang/rust/issues/69401 which was injected by https://github.com/rust-lang/rust/commit/b2c6eeb713d4cf9b35b7dda6ff2b0274e7f24684 in https://github.com/rust-lang/rust/pull/68788. r? @petrochenkov | ||||
| 2020-02-28 | Rollup merge of #69522 - Centril:fix-69341, r=petrochenkov | Mazdak Farrokhzad | -0/+36 | |
| error_derive_forbidden_on_non_adt: be more graceful Fixes #69341 which was injected by #67052. r? @petrochenkov | ||||
