| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-09-26 | Remove box syntax from most places in src/test outside of the issues dir | est31 | -8/+7 | |
| 2021-09-16 | Point at call span that introduced obligation for the arg | Esteban Kuber | -5/+15 | |
| 2021-09-16 | Point at argument instead of call for their obligations | Esteban Kuber | -34/+3 | |
| When an obligation is introduced by a specific `fn` argument, point at the argument instead of the `fn` call if the obligation fails to be fulfilled. | ||||
| 2021-08-26 | add unsized coercion test | lcnr | -0/+24 | |
| 2021-08-16 | Use note to point at bound introducing requirement | Esteban Küber | -38/+66 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -133/+169 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-07-30 | Do not discard `?Sized` type params and suggest their removal | Esteban Küber | -1/+146 | |
| 2021-07-03 | Remove the deprecated `core::raw` and `std::raw` module. | Charles Lew | -14/+11 | |
| 2021-04-19 | fix suggestion for unsized function parameters | lcnr | -0/+814 | |
| 2021-04-06 | Point at `impl` and type defs introducing requirements on E0277 | Esteban Küber | -5/+25 | |
| 2021-04-03 | Remove redundant `ignore-tidy-linelength` annotations | Simon Jakobi | -3/+1 | |
| This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed. | ||||
| 2021-03-31 | give full path of constraint in suggest_constraining_type_param | hi-rustin | -11/+11 | |
| revert file bless with nll mode | ||||
| 2021-02-06 | Rollup merge of #81738 - camelid:misc-small-diag-cleanup, r=lcnr | Jonas Schievink | -4/+4 | |
| Miscellaneous small diagnostics cleanup | ||||
| 2021-02-03 | Miscellaneous small diagnostics cleanup | Camelid | -4/+4 | |
| 2021-02-04 | add `relaxed_struct_unsize` feature gate | Bastian Kauschke | -0/+1 | |
| 2021-02-04 | relax adt unsizing requirements | Bastian Kauschke | -0/+11 | |
| 2020-10-18 | Use smaller example for issue-71659 | Yuki Okushi | -77/+15 | |
| 2020-10-18 | Add test for issue-75707 | Yuki Okushi | -0/+29 | |
| 2020-10-18 | Add test for issue-71659 | Yuki Okushi | -0/+103 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -35/+35 | |
| 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-25 | Use the proper span when WF-checking an impl self type | Aaron Hill | -2/+2 | |
| 2020-07-14 | Reword message | Esteban Küber | -20/+20 | |
| 2020-07-14 | Remove redundant explanatory `note` for type parameters | Esteban Küber | -12/+0 | |
| 2020-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -31/+0 | |
| 2020-07-14 | Suggest boxing or borrowing unsized fields | Esteban Küber | -20/+200 | |
| 2020-06-16 | Provide `help` when `T: ?Sized` can't be suggested | Esteban Küber | -0/+28 | |
| 2020-06-15 | Account for derived obligations to suggest `?Sized` bound | Esteban Küber | -0/+4 | |
| Fix #27964. | ||||
| 2020-04-24 | Add regression test for #26376 | Wesley Wiser | -0/+25 | |
| 2020-04-18 | Do not emit note for projected derived obligations | Esteban Küber | -1/+0 | |
| 2020-04-18 | Maintain chain of derived obligations | Esteban Küber | -0/+4 | |
| When evaluating the derived obligations from super traits, maintain a reference to the original obligation in order to give more actionable context in the output. | ||||
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -6/+6 | |
| 2020-04-08 | Use `PredicateObligation`s instead of `Predicate`s | Esteban Küber | -4/+4 | |
| Keep more information about trait binding failures. | ||||
| 2020-02-02 | Account for `?Sized` type parameter bounds | Esteban Küber | -18/+18 | |
| 2019-11-24 | Fix pointing at arg for fulfillment errors in function calls | Janusz Marcinkiewicz | -0/+63 | |
| 2019-10-15 | Handle more cases | Esteban Küber | -10/+21 | |
| 2019-10-15 | Use structured suggestion for restricting bounds | Esteban Küber | -8/+12 | |
| When a trait bound is not met and restricting a type parameter would make the restriction hold, use a structured suggestion pointing at an appropriate place (type param in param list or `where` clause). Account for opaque parameters where instead of suggesting extending the `where` clause, we suggest appending the new restriction: `fn foo(impl Trait + UnmetTrait)`. | ||||
| 2019-09-22 | Point at type param when it's cause of unfulfilled obligation | Esteban Küber | -2/+2 | |
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -2/+2 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -30/+17 | |
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -16/+16 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -27/+27 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -105/+33 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+547 | |
