| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-04-19 | fix suggestion for unsized function parameters | lcnr | -109/+0 | |
| 2021-04-06 | Point at `impl` and type defs introducing requirements on E0277 | Esteban Küber | -4/+20 | |
| 2021-03-31 | give full path of constraint in suggest_constraining_type_param | hi-rustin | -6/+6 | |
| revert file bless with nll mode | ||||
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -6/+6 | |
| 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-14 | Remove redundant explanatory `note` for type parameters | Esteban Küber | -6/+0 | |
| 2020-07-14 | Remove `Sized` `on_unimplemented` note | Esteban Küber | -6/+0 | |
| 2020-06-15 | Account for derived obligations to suggest `?Sized` bound | Esteban Küber | -0/+8 | |
| Fix #27964. | ||||
| 2020-05-16 | Fix whitespace in `?Sized` structured suggestion | Esteban Küber | -2/+2 | |
| 2020-04-08 | Small tweaks to required bound span | Esteban Küber | -4/+4 | |
| 2020-03-22 | Increase verbosity when suggesting subtle code changes | Esteban Küber | -6/+10 | |
| 2020-02-02 | Account for `?Sized` type parameter bounds | Esteban Küber | -22/+14 | |
| 2020-02-02 | Suggest `?Sized` on type parameters | Esteban Küber | -4/+16 | |
| 2019-10-15 | Use structured suggestion for restricting bounds | Esteban Küber | -6/+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 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -4/+4 | |
| 2019-09-19 | When possible point at argument causing item obligation failure | Esteban Küber | -10/+10 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -20/+12 | |
| 2019-01-01 | Fix broken links to second edition TRPL. | Corey Farwell | -6/+6 | |
| Fixes https://github.com/rust-lang/rust/issues/57104. | ||||
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+10 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+91 | |
