| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -492/+0 | |
| 2022-12-18 | higher-ranked lifetime message | Michael Goulet | -0/+24 | |
| 2022-07-25 | Report elision failures on the AST. | Camille GILLOT | -22/+14 | |
| 2022-06-03 | Fully stabilize NLL | Jack Huey | -58/+4 | |
| 2022-04-27 | Recover suggestions to introduce named lifetime under NLL | marmeladema | -0/+5 | |
| 2022-04-25 | Recover most `impl Trait` and `dyn Trait` lifetime bound suggestions under NLL | marmeladema | -0/+5 | |
| 2022-04-17 | Bless tests. | Camille GILLOT | -4/+4 | |
| 2022-04-05 | underscore-lifetime nll revisions | Jack Huey | -7/+19 | |
| 2021-12-10 | Tweak wording | Esteban Kuber | -1/+1 | |
| 2021-12-10 | Use a more accurate `Span` for `'static` obligation from return type | Esteban Kuber | -2/+2 | |
| 2021-12-10 | Point at return type when it introduces `'static` obligation | Esteban Kuber | -0/+8 | |
| 2021-12-10 | Clean up visual output logic | Esteban Kuber | -1/+3 | |
| 2021-11-03 | Add beginner friendly lifetime elision hint to E0623 | Nilstrieb | -0/+6 | |
| Suggest adding a new lifetime parameter when two elided lifetimes should match up but don't Issue #90170 This also changes the tests introduced by the previous commits because of another rustc issue (#90258) | ||||
| 2021-08-18 | Use more accurate spans when proposing adding lifetime to item | Esteban Kuber | -2/+2 | |
| 2021-08-11 | Modify structured suggestion output | Esteban Küber | -11/+11 | |
| * On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span | ||||
| 2020-07-22 | Further tweak wording of E0759 and introduce E0767 | Esteban Küber | -2/+2 | |
| 2020-06-15 | Change E0758 to E0759 to avoid conflict with #72912 | Esteban Küber | -2/+2 | |
| 2020-06-15 | small tweaks | Esteban Küber | -1/+1 | |
| 2020-06-15 | Register new eror code | Esteban Küber | -0/+1 | |
| 2020-06-15 | review comments: wording | Esteban Küber | -1/+1 | |
| 2020-06-15 | Tweak wording and add error code | Esteban Küber | -4/+4 | |
| 2020-06-15 | Reduce verbosity of suggestion message and mention lifetime in label | Esteban Küber | -2/+2 | |
| 2020-06-15 | When `'static` is explicit, suggest constraining argument with it | Esteban Küber | -1/+1 | |
| 2020-05-30 | Tweak wording and spans of `'static` `dyn Trait`/`impl Trait` requirements | Esteban Küber | -15/+5 | |
| 2020-05-30 | Update nll tests | Esteban Küber | -0/+11 | |
| 2020-05-30 | review comment: tweak wording and account for span overlap | Esteban Küber | -4/+6 | |
| 2020-05-30 | Account for returned `dyn Trait` evaluating to `'static` lifetime | Esteban Küber | -8/+20 | |
| Provide a suggestion for `dyn Trait + '_` when possible. | ||||
| 2020-05-30 | Fix NLL output | Esteban Küber | -12/+0 | |
| 2020-05-30 | Improve output of argument anonymous borrow missing annotation involving ↵ | Esteban Küber | -29/+11 | |
| opaque return type Go from ``` error[E0495]: cannot infer an appropriate lifetime due to conflicting requirements --> file8.rs:22:5 | 22 | / move || { 23 | | *dest = g.get(); 24 | | } | |_____^ | note: first, the lifetime cannot outlive the anonymous lifetime #1 defined on the function body at 18:1... --> file8.rs:18:1 | 18 | / fn bat<'a, G: 'a, T>(g: G, dest: &mut T) -> impl FnOnce() + '_ + 'a 19 | | where 20 | | G: Get<T> 21 | | { ... | 24 | | } 25 | | } | |_^ note: ...so that the types are compatible --> file8.rs:22:5 | 22 | / move || { //~ ERROR cannot infer an appropriate lifetime 23 | | *dest = g.get(); 24 | | } | |_____^ = note: expected `&mut T` found `&mut T` note: but, the lifetime must be valid for the lifetime `'a` as defined on the function body at 18:8... --> file8.rs:18:8 | 18 | fn bat<'a, G: 'a, T>(g: G, dest: &mut T) -> impl FnOnce() + '_ + 'a | ^^ note: ...so that return value is valid for the call --> file8.rs:18:45 | 18 | fn bat<'a, G: 'a, T>(g: G, dest: &mut T) -> impl FnOnce() + '_ + 'a | ^^^^^^^^^^^^^^^^^^^^^^^ ``` to ``` error[E0621]: explicit lifetime required in the type of `dest` --> file8.rs:18:45 | 18 | fn bat<'a, G: 'a, T>(g: G, dest: &mut T) -> impl FnOnce() + '_ + 'a | ------ ^^^^^^^^^^^^^^^^^^^^^^^ lifetime `'a` required | | | help: add explicit lifetime `'a` to the type of `dest`: `&'a mut T` ``` | ||||
| 2020-05-27 | Fix spacing of expected/found notes without a label | Esteban Küber | -2/+2 | |
| 2020-05-12 | add long error explanation for E0228 | Jade McGough | -1/+2 | |
| 2020-04-22 | Tweak wording | Esteban Küber | -2/+2 | |
| 2020-04-22 | Tweak `'static` suggestion code | Esteban Küber | -2/+11 | |
| Fix #71196. | ||||
| 2020-02-07 | performed --bless of 15 ui tests affected | Josh White | -1/+13 | |
| 2020-02-05 | Account for `fn()` types in lifetime suggestions | Esteban Küber | -12/+4 | |
| 2020-02-05 | Account for `'_` in suggestions | Esteban Küber | -2/+2 | |
| 2020-02-05 | review comments | Esteban Küber | -8/+8 | |
| 2020-02-05 | Suggest `'r` instead of `'lifetime` | Esteban Küber | -10/+10 | |
| 2020-02-05 | When suggesting lifetimes, propose adding the new lifetime to all arguments | Esteban Küber | -2/+2 | |
| 2020-02-05 | Use spans for input borrowed types unrelated to return type | Esteban Küber | -2/+10 | |
| 2020-01-19 | review comments | Esteban Küber | -5/+5 | |
| 2020-01-19 | When encountering an expected named lifetime and none are present, suggest ↵ | Esteban Küber | -6/+32 | |
| adding one | ||||
| 2019-12-03 | Include a span in more `expected...found` notes | Aaron Hill | -3/+7 | |
| In most places, we use a span when emitting `expected...found` errors. However, there were a couple of places where we didn't use any span, resulting in hard-to-interpret error messages. This commit attaches the relevant span to these notes, and additionally switches over to using `note_expected_found` instead of manually formatting the message | ||||
| 2019-11-21 | Change some tests to use the shorter comment style | Dylan MacKenzie | -6/+3 | |
| 2019-11-07 | Update ui tests | Guillaume Gomez | -0/+1 | |
| 2019-10-07 | update ui tests | Guillaume Gomez | -0/+1 | |
| 2019-06-03 | rustc: remove `HirId` from `ArgSource::AsyncFn` | David Wood | -1/+1 | |
| This commit removes the `HirId` from `ArgSource::AsyncFn`, relying on the fact that only `simple_ident` is used in each of the locations that previously took the original pattern from the `ArgSource::AsyncFn`. | ||||
| 2019-05-29 | Update ui test suite to use dyn | memoryruins | -7/+7 | |
| 2019-05-12 | Change compare mode to use -Zborrowck=mir | Matthew Jasper | -0/+22 | |
| 2019-04-18 | hide `--explain` hint if error has no extended info | Andy Russell | -17/+2 | |
