| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-30 | Unconditionally run `check_item_type` on all items | Oli Scherer | -15/+24 | |
| 2025-06-08 | add tests for pattern binding drop order edge cases | dianne | -0/+124 | |
| I couldn't find existing tests that for this behavior, so this should make sure it doesn't accidentally change. | ||||
| 2025-06-03 | Use non-2015 edition paths in tests that do not test for their resolution | Lukas Wirth | -1/+1 | |
| This allows for testing these tests on editions other than 2015 | ||||
| 2025-05-07 | Remove manual WF hack | Michael Goulet | -4/+38 | |
| 2025-02-24 | Don't immediately panic if dropck fails without returning errors | Matthew Jasper | -0/+33 | |
| Type lowering can give non-fatal errors that dropck then uses to suppress its own errors. Assume this is the cases when we can't find the error in borrowck. | ||||
| 2025-02-17 | Update tests for dropck normalization errors | Matthew Jasper | -0/+176 | |
| Takes crash tests from #135039, #103899, #91985 and #105299 and turns them into ui tests | ||||
| 2025-02-14 | Trim suggestion parts to the subset that is purely additive | Michael Goulet | -2/+2 | |
| 2025-02-14 | Use underline suggestions for purely 'additive' replacements | Michael Goulet | -6/+4 | |
| 2025-02-10 | Show diff suggestion format on verbose replacement | Esteban Küber | -4/+6 | |
| ``` error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields --> $DIR/attempted-access-non-fatal.rs:7:15 | LL | let _ = 2.l; | ^ | help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix | LL - let _ = 2.l; LL + let _ = 2.0f64; | ``` | ||||
| 2024-12-07 | Use trait name instead of full constraint in suggestion message | Esteban Küber | -4/+4 | |
| ``` help: consider restricting type parameter `T` with traits `Copy` and `Trait` | LL | fn duplicate_custom<T: Copy + Trait>(t: S<T>) -> (S<T>, S<T>) { | ++++++++++++++ ``` ``` help: consider restricting type parameter `V` with trait `Copy` | LL | fn index<'a, K, V: std::marker::Copy>(map: &'a HashMap<K, V>, k: K) -> &'a V { | +++++++++++++++++++ ``` | ||||
| 2024-12-07 | reword trait bound suggestion message to include the bounds | Esteban Küber | -4/+4 | |
| 2024-11-26 | Rollup merge of #133402 - compiler-errors:drop-and-destruct, r=lcnr | Michael Goulet | -39/+0 | |
| Constify `Drop` and `Destruct` r? `@lcnr` or `@fee1-dead` | ||||
| 2024-11-26 | tests: remove `//@ pretty-expanded` usages | 许杰友 Jieyou Xu (Joe) | -1/+0 | |
| Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ``` | ||||
| 2024-11-25 | Constify Drop and Destruct | Michael Goulet | -39/+0 | |
| 2024-11-05 | Tweak E0320 overflow error wording | Esteban Küber | -12/+12 | |
| Surrount type with backticks as we should in every error. | ||||
| 2024-11-03 | Yeet effects feature | Michael Goulet | -16/+4 | |
| 2024-10-28 | Hack out effects support for old solver | Michael Goulet | -6/+1 | |
| 2024-10-17 | Rollup merge of #128391 - cafce25:issue-128390, r=lcnr | Matthias Krüger | -3/+4 | |
| Change orphan hint from "only" to "any uncovered type inside..." Fix #128390 | ||||
| 2024-09-26 | Make new information notes instead of labels | Jonathan Birk | -4/+4 | |
| 2024-09-24 | replace "cast" with "coercion" where applicable | Lukas Markeffsky | -6/+6 | |
| This changes the remaining span for the cast, because the new `Cast` category has a higher priority (lower `Ord`) than the old `Coercion` category, so we no longer report the region error for the "unsizing" coercion from `*const Trait` to itself. | ||||
| 2024-08-11 | Add more information link to orphan impls | Jonathan Birk | -1/+2 | |
| 2024-07-31 | Rollup merge of #128438 - Bryanskiy:empty-array-dropck, r=lcnr | Matthias Krüger | -0/+23 | |
| Add special-case for [T, 0] in dropck_outlives implements/fixes #110288. r? `@lcnr` | ||||
| 2024-07-31 | Add special-case for [T, 0] in dropck | Bryanskiy | -0/+23 | |
| 2024-07-30 | Adjust orphan note in tests | Jonathan Birk | -1/+1 | |
| 2024-07-26 | Peel off explicit (or implicit) deref before suggesting clone on move error ↵ | Michael Goulet | -5/+0 | |
| in borrowck | ||||
| 2024-07-02 | Rewrite dropck | Boxy | -359/+241 | |
| 2024-07-01 | introduce tests | Boxy | -0/+310 | |
| 2024-04-11 | Suggest `.clone()` when moved while borrowed | Esteban Küber | -0/+5 | |
| 2024-02-16 | [AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives | 许杰友 Jieyou Xu (Joe) | -28/+28 | |
| 2024-01-02 | Adjust compiler tests for unused_tuple_struct_fields -> dead_code | Jake Goulding | -2/+2 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -12/+12 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-11-12 | Note about object lifetime defaults in does not live long enough error | Nilstrieb | -0/+12 | |
| This is a aspect of Rust that frequently trips up people who are not aware of it yet. This diagnostic attempts to explain what's happening and why the lifetime constraint, that was never mentioned in the source, arose. | ||||
| 2023-11-02 | review + add tests | lcnr | -0/+41 | |
| 2023-07-22 | Rollup merge of #112508 - compiler-errors:trait-sig-lifetime-sugg-ice, ↵ | Matthias Krüger | -4/+4 | |
| r=cjgillot Tweak spans for self arg, fix borrow suggestion for signature mismatch 1. Adjust a suggestion message that was annoying me 2. Fix #112503 by recording the right spans for the `self` part of the `&self` 0th argument 3. Remove the suggestion for adjusting a trait signature on type mismatch, bc that's gonna probably break all the other impls of the trait even if it fixes its one usage :sweat_smile: | ||||
| 2023-07-10 | Do not set up wrong span for adjustments | Michael Goulet | -2/+2 | |
| 2023-06-28 | Adjust inner span of implicit self ref argument | Michael Goulet | -4/+4 | |
| 2023-05-04 | Even more tests | Michael Goulet | -0/+280 | |
| 2023-04-27 | Explicitly reject negative and reservation drop impls | Michael Goulet | -0/+33 | |
| 2023-01-17 | Account for method call and indexing when looking for inner-most path in ↵ | Esteban Küber | -0/+2 | |
| expression | ||||
| 2023-01-15 | Tweak E0597 | Esteban Küber | -6/+26 | |
| CC #99430 | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+1663 | |
