| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -25/+0 | |
| 2021-12-13 | When `.await` is called on a non-`Future` expression, suggest removal | Esteban Kuber | -2/+2 | |
| Keep track of the origin of a `T: Future` obligation when caused by an `.await` expression. Address #66731. | ||||
| 2021-12-02 | Code review feedback | Eric Holk | -0/+1 | |
| Add a note about `IntoFuture` in error messages where T is not a future. Change await-into-future.rs to be a run-pass test. | ||||
| 2020-10-06 | Fix tests from rebase | Matthew Jasper | -1/+0 | |
| 2020-10-06 | Check opaque types satisfy their bounds | Matthew Jasper | -3/+0 | |
| 2020-09-02 | pretty: trim paths of unique symbols | Dan Aloni | -1/+1 | |
| 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-06-25 | Adds a clearer message for when the async keyword is missing from a function | Nell Shamrell | -2/+3 | |
| Signed-off-by: Nell Shamrell <nellshamrell@gmail.com> | ||||
| 2020-03-23 | Update tests | John Kåre Alsaker | -4/+16 | |
| 2019-10-02 | s/`async` fn/`async fn`/ | Niko Matsakis | -2/+2 | |
| 2019-10-02 | WIP fix tests | Niko Matsakis | -2/+2 | |
| 2019-08-20 | --bless post no async_await gates in tests. | Mazdak Farrokhzad | -2/+2 | |
| 2019-07-04 | Improve error span for async type inference error | Aaron Hill | -0/+15 | |
| Fixes #62382 Previously, we would point at the spawn of the 'await' expression, instead of the actual expression with an unknown type. | ||||
