| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-05-06 | Better rustc_on_unimplemented, and UI test fixes | Scott McMurray | -33/+0 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -5/+5 | |
| 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-04-26 | Point at the return type on `.into()` failure caused by `?` | Esteban Küber | -0/+3 | |
| Fix #35946. | ||||
| 2020-04-15 | Provide better compiler output when using `?` on `Option` in fn returning ↵ | Duddino | -2/+2 | |
| `Result` and vice-versa | ||||
| 2020-04-14 | Provide better compiler output when using `?` on `Option` in fn returning ↵ | Duddino | -0/+4 | |
| `Result` and vice-versa | ||||
| 2019-11-25 | added enclosing_scope attr to Try trait and fixed ui tests accordingly | Mikhail Babenko | -2/+7 | |
| 2019-05-17 | Explain that ? converts the error type using From | Esteban Küber | -0/+1 | |
| 2019-04-17 | Give custom error for E0277 on `?` error case | Esteban Küber | -1/+1 | |
| 2019-04-17 | Point at try `?` on errors affecting the err match arm of the desugared code | Esteban Küber | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -2/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -2/+2 | |
| 2018-07-18 | Implement existential types | Oliver Schneider | -0/+20 | |
