| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -3/+3 | |
| 2020-07-14 | Rollup merge of #74228 - estebank:unsized-param, r=davidtwco | Manish Goregaokar | -16/+53 | |
| Provide structured suggestion on unsized fields and fn params * Suggest borrowing or boxing unsized fields * Suggest borrowing fn parameters * Remove some verbosity of unsized errors * Remove `on_unimplemented` note from `trait Sized` Fix #23286, fix #28653. r? @davidtwco | ||||
| 2020-07-14 | Reword message | Esteban Küber | -5/+5 | |
| 2020-07-14 | Remove redundant explanatory `note` for type parameters | Esteban Küber | -3/+0 | |
| 2020-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -5/+0 | |
| 2020-07-14 | Suggest boxing or borrowing unsized fields | Esteban Küber | -8/+53 | |
| 2020-07-12 | Detect tuple struct incorrectly used as struct pat | Esteban Küber | -6/+6 | |
| 2020-06-10 | review comments: only suggest one substitution | Esteban Küber | -5/+1 | |
| 2020-06-10 | On recursive ADT, provide indirection structured suggestion | Esteban Küber | -2/+9 | |
| 2020-04-08 | Use `PredicateObligation`s instead of `Predicate`s | Esteban Küber | -2/+10 | |
| Keep more information about trait binding failures. | ||||
| 2020-04-02 | tests: remove ignore directives from tests that mention core/alloc/std spans. | Eduard-Mihai Burtescu | -7/+2 | |
| 2020-03-24 | Rollup merge of #70077 - Aaron1011:feature/new-def-path-ident, r=petrochenkov | Mazdak Farrokhzad | -2/+15 | |
| Store idents for `DefPathData` into crate metadata Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in a side table, which gets encoded into the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for #68686, since throwing away a `Span` means that we lose hygiene information. | ||||
| 2020-03-23 | Ignore tests on some platforms due to #53081 | Aaron Hill | -2/+7 | |
| 2020-03-22 | Store idents for `DefPathData` into crate metadata | Aaron Hill | -0/+8 | |
| Previously, we threw away the `Span` associated with a definition's identifier when we encoded crate metadata, causing us to lose location and hygiene information. We now store the identifier's `Span` in the crate metadata. When we decode items from the metadata, we combine the name and span back into an `Ident`. This improves the output of several tests, which previously had messages suppressed due to dummy spans. This is a prerequisite for #68686, since throwing away a `Span` means that we lose hygiene information. | ||||
| 2020-03-22 | Add span label to primary error span | Esteban Küber | -1/+1 | |
| 2020-03-22 | Increase verbosity when suggesting subtle code changes | Esteban Küber | -2/+7 | |
| 2020-02-28 | Do not suggest implementing traits if present in predicates | Esteban Küber | -3/+0 | |
| 2020-02-28 | Review comments: split requirement text to multiple lines for readability | Esteban Küber | -1/+2 | |
| 2020-02-28 | Show information of chain of bound obligations | Esteban Küber | -2/+5 | |
| 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 | -1/+3 | |
| 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 | -3/+1 | |
| 2020-02-28 | Reduce vebosity of E0599 | Esteban Küber | -5/+1 | |
| 2020-02-28 | Add more context to E0599 errors | Esteban Küber | -2/+9 | |
| Point at the intermediary unfullfilled trait bounds. | ||||
| 2020-02-06 | rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. | Eduard-Mihai Burtescu | -0/+2 | |
| 2020-02-02 | Account for `?Sized` type parameter bounds | Esteban Küber | -3/+3 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -4/+4 | |
| 2020-01-11 | Rollup merge of #68014 - estebank:unify-e0599, r=cramertj | Yuki Okushi | -2/+2 | |
| Unify output of "variant not found" errors Fix #49566. | ||||
| 2020-01-09 | Update tests | Vadim Petrochenkov | -1/+8 | |
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -2/+2 | |
| 2019-11-16 | Use "field is never read" instead of "field is never used" | cosine | -10/+10 | |
| 2019-10-21 | Rollup merge of #62330 - SimonSapin:no-drop-in-union-fields, r=RalfJung | Mazdak Farrokhzad | -167/+346 | |
| Change untagged_unions to not allow union fields with drop This is a rebase of #56440, massaged to solve merge conflicts and make the test suite pass. Change untagged_unions to not allow union fields with drop Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in `ManuallyDrop` (or similar). The stable rule remains, that union fields must be `Copy`. We use the new rule for the `untagged_union` feature. Tracking issue: https://github.com/rust-lang/rust/issues/55149 | ||||
| 2019-10-15 | Handle more cases | Esteban Küber | -3/+6 | |
| 2019-10-11 | Update ui stderr | Oliver Scherer | -15/+2 | |
| 2019-10-11 | Ensure we do not treat all unions as not having any drop glue. | Oliver Scherer | -0/+47 | |
| 2019-10-11 | Preserve originally intended test semantics | Oliver Scherer | -4/+6 | |
| 2019-10-11 | rpass tests are now part of `ui` tests | Oliver Scherer | -1/+43 | |
| 2019-10-11 | Extend union-nodrop.rs test | Simon Sapin | -1/+5 | |
| 2019-10-11 | Update src/test/run-pass/union/union-nodrop.rs | Simon Sapin | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-10-11 | Fixes #41073, it is no longer an ICE | Simon Sapin | -0/+39 | |
| 2019-10-11 | Change untagged_unions to not allow union fields with drop | Ulrik Sverdrup | -68/+137 | |
| Union fields may now never have a type with attached destructor. This for example allows unions to use arbitrary field types only by wrapping them in ManuallyDrop. The stable rule remains, that union fields must be Copy. We use the new rule for the `untagged_union` feature. See RFC 2514. Note for ui tests: We can't test move out through Box's deref-move since we can't have a Box in a union anymore. | ||||
| 2019-10-11 | Remove most uses of `allow(unions_with_drop_fields)` in tests | Simon Sapin | -101/+90 | |
| 2019-09-12 | Auto merge of #64359 - varkor:opaque-ty-in-extern, r=estebank | bors | -3/+4 | |
| Forbid opaque types in `extern "C"` blocks Fixes #64338. | ||||
| 2019-09-10 | Refactor "not FFI-safe" diagnostic | varkor | -3/+4 | |
| 2019-09-08 | Give method not found a primary span label | Esteban Küber | -1/+1 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -12/+6 | |
| 2019-08-15 | Group all ui tests and move to abi #62593 | Kevin Per | -37/+0 | |
| 2019-07-27 | tests: Move run-pass tests with naming conflicts to ui | Vadim Petrochenkov | -0/+111 | |
| 2019-07-27 | tests: Move run-pass tests without naming conflicts to ui | Vadim Petrochenkov | -0/+839 | |
| 2019-07-03 | Migrate compile-pass annotations to build-pass | Yuki Okushi | -1/+1 | |
| 2019-06-10 | Implement RFC 2645 (transparent enums and unions) | Michael Bradshaw | -1/+1 | |
| Tracking issue: #60405 | ||||
