| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -1434/+0 | |
| 2022-12-21 | Substitute things correctly | Michael Goulet | -4/+4 | |
| 2022-12-15 | Consider lifetimes when comparing assoc types in method chain | Esteban Küber | -13/+43 | |
| Do not say "Type changed to X here" when the only difference is caused by lifetimes. | ||||
| 2022-12-13 | Avoid rendering empty annotations | Oli Scherer | -23/+0 | |
| 2022-12-13 | Make some diagnostics not depend on the source of what they reference being ↵ | Oli Scherer | -31/+25 | |
| available | ||||
| 2022-12-11 | Point at method call when it is the source of the bound error | Esteban Küber | -53/+24 | |
| 2022-12-11 | Use `with_forced_trimmed_paths` | Esteban Küber | -28/+28 | |
| 2022-12-11 | fix rebase | Esteban Küber | -10/+15 | |
| 2022-12-11 | Only point at methods that might be relevant | Esteban Küber | -15/+62 | |
| 2022-12-11 | Add label to method chains where assoc type remains the same | Esteban Küber | -5/+5 | |
| 2022-12-11 | Remove mention of "assoc type" in label as it is already in the `note` message | Esteban Küber | -12/+12 | |
| 2022-12-11 | Account for method call chains split across multiple bindings | Esteban Küber | -1/+44 | |
| 2022-12-11 | Mention only assoc types changes | Esteban Küber | -20/+18 | |
| 2022-12-11 | Expand iterator chain test | Esteban Küber | -7/+26 | |
| 2022-12-11 | Provide associated type information in method chains | Michael Goulet | -0/+128 | |
| When encountering an unmet obligation that affects a method chain, like in iterator chains where one of the links has the wrong associated type, we point at every method call and mention their evaluated associated type at that point to give context to the user of where expectations diverged from the code as written. ``` note: the expression is of type `Map<std::slice::Iter<'_, {integer}>, [closure@$DIR/invalid-iterator-chain.rs:12:18: 12:21]>` --> $DIR/invalid-iterator-chain.rs:12:14 | LL | vec![0, 1] | ---------- this expression has type `Vec<{integer}>` LL | .iter() | ------ associated type `std::iter::Iterator::Item` is `&{integer}` here LL | .map(|x| { x; }) | ^^^^^^^^^^^^^^^ associated type `std::iter::Iterator::Item` is `()` here ``` | ||||
| 2022-12-10 | Introduce `with_forced_trimmed_paths` | Esteban Küber | -3/+3 | |
| 2022-11-11 | Don't add message that will never be shown to users | Oli Scherer | -7/+4 | |
| It will still be used in json, as seen by the ui test changes | ||||
| 2022-10-01 | bless ui tests | Maybe Waffle | -2/+2 | |
| 2022-09-23 | Restore ignore tag | Florian Bartels | -5/+0 | |
| This test case actually requires std::process. | ||||
| 2022-09-03 | Auto merge of #100966 - compiler-errors:revert-remove-deferred-sized-checks, ↵ | bors | -6/+60 | |
| r=pnkfelix Revert "Remove deferred sized checks" cc: https://github.com/rust-lang/rust/pull/100652#issuecomment-1225798572 I'm okay with reverting this for now, and I will look into the diagnostic regressions. This reverts commit 33212bf7f527798a8cfa2bbb38781742f4ca718a. r? `@pnkfelix` ---- EDIT: This _also_ fixes #101066, a regression in method selection logic/coercion(?) due to the early registering of a `Sized` bound. | ||||
| 2022-08-31 | Fix a bunch of typo | Dezhi Wu | -1/+1 | |
| This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos | ||||
| 2022-08-27 | Revert "Remove deferred sized checks" | Michael Goulet | -6/+60 | |
| This reverts commit 33212bf7f527798a8cfa2bbb38781742f4ca718a. | ||||
| 2022-08-21 | Deduplicate errors that come from places like normalization, sized | Michael Goulet | -33/+1 | |
| 2022-08-21 | Rework point-at-arg | Michael Goulet | -7/+62 | |
| 2022-08-18 | Reword "Required because of the requirements on the impl of ..." | Andy Wang | -18/+18 | |
| 2022-08-16 | Remove deferred sized checks | Michael Goulet | -24/+6 | |
| 2022-06-16 | diagnostics: fix trailing space | klensy | -1/+1 | |
| 2022-06-08 | Suggest using `iter()` or `into_iter()` for `Vec` | Chayim Refael Friedman | -0/+24 | |
| We cannot do that for `&Vec` because `#[rustc_on_unimplemented]` is limited (it does not clean generic instantiation for references, only for ADTs). | ||||
| 2022-05-28 | Move some tests to more reasonable places | Caio | -0/+104 | |
| 2022-04-26 | Better error messages when collecting into `[T; n]` | Michael Goulet | -2/+25 | |
| 2022-03-24 | add #[must_use] to functions of slice and its iterators. | Jendrik | -12/+14 | |
| 2022-02-09 | Suggest collecting into `Vec<_>` when collecting into `[_]` | Michael Goulet | -0/+41 | |
| 2021-12-09 | Add needs-unwind to tests that depend on panicking | David Koloski | -0/+5 | |
| This directive isn't automatically set by compiletest or x.py, but can be turned on manually for targets that require it. | ||||
| 2021-11-20 | Do not mention associated items when they introduce an obligation | Esteban Kuber | -80/+0 | |
| 2021-11-03 | Clean up some `-Z unstable-options` in tests. | Eric Huss | -1/+0 | |
| 2021-10-21 | Make RSplit<T, P>: Clone not require T: Clone | Caleb Sander | -0/+11 | |
| This addresses a TODO comment. The behavior of #[derive(Clone)] *does* result in a T: Clone requirement. Add a manual Clone implementation, matching Split and SplitInclusive. | ||||
| 2021-10-03 | Practice diagnostic message convention | Hirochika Matsumoto | -17/+17 | |
| 2021-08-30 | Update tests for array_into_iter lint upgrade. | Mara Bos | -82/+31 | |
| 2021-08-16 | Use note to point at bound introducing requirement | Esteban Küber | -2/+5 | |
| 2021-08-12 | Rollup merge of #87885 - m-ou-se:edition-guide-links, r=rylev | Guillaume Gomez | -15/+15 | |
| Link to edition guide instead of issues for 2021 lints. This changes the 2021 lints to not link to github issues, but to the edition guide instead. Fixes #86996 | ||||
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -31/+32 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2021-08-09 | Link to edition guide instead of issues for 2021 lints. | Mara Bos | -15/+15 | |
| 2021-07-19 | Various diagnostics clean ups/tweaks | Esteban Küber | -16/+80 | |
| * 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-26 | Fix array-into-iter tests. | Mara Bos | -13/+18 | |
| 2021-06-26 | Add test for suggestion of array_into_iter in for loop. | Mara Bos | -1/+19 | |
| 2021-06-26 | Update tests for updated array_into_iter lint. | Mara Bos | -54/+166 | |
| 2021-06-25 | Change how edition based future compatibility warnings are handled | Ryan Levick | -197/+40 | |
| 2021-04-16 | Test array into_iter with more wrapper types | Josh Stone | -5/+39 | |
| 2021-04-16 | Test Box::new(array).into_iter() | Josh Stone | -4/+29 | |
| 2021-04-16 | Skip into_iter() for arrays before 2021 | Josh Stone | -0/+55 | |
