| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -3/+3 | |
| 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-08 | Small tweaks to required bound span | Esteban Küber | -1/+1 | |
| 2020-03-26 | introduce `negative_impls` feature gate and document | Niko Matsakis | -1/+1 | |
| They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits. | ||||
| 2020-02-25 | check_pat_ref: use pattern_cause | Mazdak Farrokhzad | -0/+6 | |
| 2019-11-21 | Auto merge of #66389 - estebank:type-err-labels, r=petrochenkov | bors | -11/+11 | |
| Specific labels when referring to "expected" and "found" types | ||||
| 2019-11-18 | Surround types with backticks in type errors | Esteban Küber | -1/+1 | |
| 2019-11-18 | Specific labels when referring to "expected" and "found" types | Esteban Küber | -10/+10 | |
| 2019-11-18 | Update ui tests | Guillaume Gomez | -0/+2 | |
| 2019-09-22 | On obligation errors point at the unfulfilled binding when possible | Esteban Küber | -1/+1 | |
| 2019-08-31 | Use span label instead of note for cause in E0631 | Esteban Küber | -5/+3 | |
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -144/+21 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -8/+3 | |
| 2019-03-17 | Updated UI test output to remove test annotations for revisions | Mathias Blikstad | -11/+11 | |
| 2019-03-11 | Update NLL tests | Vadim Petrochenkov | -2/+2 | |
| 2019-03-11 | Update tests | Vadim Petrochenkov | -6/+6 | |
| 2019-01-06 | tests: Do not use `-Z parse-only`, continue compilation to test recovery | Vadim Petrochenkov | -3/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -113/+23 | |
| 2018-12-24 | make non_camel_case_types an early lint | Andy Russell | -12/+12 | |
| 2018-10-05 | Rollup merge of #54787 - varkor:unused-mut-in-desugaring, r=nikomatsakis | Pietro Albini | -0/+8 | |
| Only warn about unused `mut` in user-written code Fixes https://github.com/rust-lang/rust/issues/54586. r? @pnkfelix cc @blitzerr | ||||
| 2018-10-03 | Clearer later use messages for calls | Matthew Jasper | -1/+1 | |
| Give a special message when the later use is from a call. Use the span of the callee instead of the whole expression. For conflicting borrow messages say that the later use is of the first borrow. | ||||
| 2018-10-03 | Only warn about unused `mut` in user-written code | varkor | -0/+8 | |
| 2018-09-12 | use structured suggestion for "missing mut" label | Andy Russell | -15/+17 | |
| Fixes #54133. | ||||
| 2018-08-19 | move tests to borrowck directory, remove feature(nll) | Niko Matsakis | -14/+8 | |
| now compare-mode can show us the differences | ||||
| 2018-08-15 | Updated the most glaring instances of weak tests w.r.t. NLL that came from ↵ | Felix S. Klock II | -2/+20 | |
| #53196. See also the bulletpoint list on #53351. | ||||
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+489 | |
