| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-06 | Suggest deriving traits if possible | Paul Trojahn | -0/+4 | |
| This only applies to builtin derives as I don't think there is a clean way to get the available derives in typeck. Closes #85851 | ||||
| 2021-08-16 | Use note to point at bound introducing requirement | Esteban Küber | -33/+39 | |
| 2021-08-10 | Move some UI tests to more suitable subdirs | Yuki Okushi | -0/+49 | |
| 2021-08-04 | Remove trailing whitespace from error messages | Fabian Wolff | -10/+10 | |
| 2021-07-19 | Various diagnostics clean ups/tweaks | Esteban Küber | -51/+261 | |
| * Always point at macros, including derive macros * Point at non-local items that introduce a trait requirement * On private associated item, point at definition | ||||
| 2021-06-22 | Change Debug unimplemented message per request | Aris Merchant | -4/+4 | |
| 2021-06-16 | Update test stderr files | Aris Merchant | -12/+4 | |
| 2021-05-13 | completion uwu | Ellen | -1/+0 | |
| 2021-05-12 | Show macro name in 'this error originates in macro' message | Aaron Hill | -41/+41 | |
| When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error. | ||||
| 2021-04-16 | builtin derive macros: fix error with const generics default | Soveu | -0/+14 | |
| 2021-03-29 | Suggest box/pin/arc ing receiver on method calls | Esteban Küber | -8/+0 | |
| 2021-03-27 | make unaligned_refereces future-incompat lint warn-by-default, and remove ↵ | Ralf Jung | -7/+7 | |
| the safe_packed_borrows lint that it replaces | ||||
| 2021-02-09 | ./x.py test --bless | Tomasz Miąsko | -180/+4 | |
| 2021-02-09 | Fix derived PartialOrd operators | Tomasz Miąsko | -0/+60 | |
| The derived implementation of `partial_cmp` compares matching fields one by one, stopping the computation when the result of a comparison is not equal to `Some(Equal)`. On the other hand the derived implementation for `lt`, `le`, `gt` and `ge` continues the computation when the result of a field comparison is `None`, consequently those operators are not transitive and inconsistent with `partial_cmp`. Fix the inconsistency by using the default implementation that fall-backs to the `partial_cmp`. This also avoids creating very deeply nested closures that were quite costly to compile. | ||||
| 2021-02-07 | Address review comments | Vadim Petrochenkov | -0/+11 | |
| 2021-02-07 | expand/resolve: Turn `#[derive]` into a regular macro attribute | Vadim Petrochenkov | -29/+34 | |
| 2021-02-01 | Regression tests for issue 81211. | Felix S. Klock II | -0/+72 | |
| 2021-01-26 | Avoid describing a method as 'not found' when bounds are unsatisfied | Aaron Hill | -3/+3 | |
| Fixes #76267 When there is a single applicable method candidate, but its trait bounds are not satisfied, we avoid saying that the method is "not found". Insted, we update the error message to directly mention which bounds are not satisfied, rather than mentioning them in a note. | ||||
| 2020-12-07 | Move some tests to subdirectories | Vadim Petrochenkov | -0/+21 | |
| 2020-09-08 | Update tests | Guillaume Gomez | -11/+13 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -104/+104 | |
| If a symbol name can only be imported from one place for a type, and as long as it was not glob-imported anywhere in the current crate, we can trim its printed path and print only the name. This has wide implications on error messages with types, for example, shortening `std::vec::Vec` to just `Vec`, as long as there is no other `Vec` importable anywhere. This adds a new '-Z trim-diagnostic-paths=false' option to control this feature. On the good path, with no diagnosis printed, we should try to avoid issuing this query, so we need to prevent trimmed_def_paths query on several cases. This change also relies on a previous commit that differentiates between `Debug` and `Display` on various rustc types, where the latter is trimmed and presented to the user and the former is not. | ||||
| 2020-07-27 | mv std libs to library/ | mark | -11/+11 | |
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -3/+3 | |
| 2020-04-08 | Use `PredicateObligation`s instead of `Predicate`s | Esteban Küber | -4/+20 | |
| 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 | -182/+53 | |
| 2020-03-23 | Ignore tests on some platforms due to #53081 | Aaron Hill | -1/+6 | |
| 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-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/+61 | |
| 2020-01-24 | Normalise notes with the/is | varkor | -2/+2 | |
| 2020-01-11 | Auto merge of #65912 - estebank:variants-orig, r=petrochenkov | bors | -2/+16 | |
| Point at the span for the definition of crate foreign ADTs Follow up to #65421. Partially addresses #65386. Blocked on #53081. | ||||
| 2020-01-11 | Rollup merge of #68014 - estebank:unify-e0599, r=cramertj | Yuki Okushi | -1/+1 | |
| Unify output of "variant not found" errors Fix #49566. | ||||
| 2020-01-10 | Ignore platforms that can't point to std | Esteban Küber | -3/+12 | |
| 2020-01-10 | Use `def_span` to minimize definition span to first line when possible | Esteban Küber | -1/+1 | |
| 2020-01-10 | Point at the span for the definition of crate foreign ADTs | Esteban Küber | -0/+5 | |
| 2020-01-09 | Update tests | Vadim Petrochenkov | -13/+213 | |
| 2020-01-08 | Unify output of "variant not found" errors | Esteban Küber | -1/+1 | |
| 2019-12-28 | Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests | Esteban Küber | -65/+154 | |
| 2019-11-16 | Modify primary label message to be inline with error message | Esteban Küber | -3/+3 | |
| 2019-11-16 | Suggest borrowing when it would satisfy an unmet trait bound | Esteban Küber | -6/+15 | |
| When there are multiple implementors for the same trait that is present in an unmet binding, modify the E0277 error to refer to the parent obligation and verify whether borrowing the argument being passed in would satisfy the unmet bound. If it would, suggest it. | ||||
| 2019-11-02 | also adjust ignore in generated tests | Ralf Jung | -42/+64 | |
| 2019-09-22 | ignore-x86 instead of ignore-musl | Esteban Küber | -4/+4 | |
| 2019-09-22 | ignore musl target in tests to avoid issues with output differences | Esteban Küber | -4/+12 | |
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -7/+19 | |
| 2019-09-19 | When possible point at argument causing item obligation failure | Esteban Küber | -6/+6 | |
