| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -14/+0 | |
| 2022-06-02 | add new `emit_inference_failure_err` | lcnr | -1/+6 | |
| 2020-10-19 | revert workaround #73027 | SNCPlay42 | -9/+4 | |
| 2020-06-05 | Make `need_type_info_err` more conservative | Nathan Corbyn | -4/+9 | |
| 2019-06-01 | review comment: tweak wording | Esteban Küber | -2/+2 | |
| 2019-05-31 | On type inference errors use the type argument name when possible | Esteban Küber | -2/+2 | |
| ``` error[E0282]: type annotations needed in `std::result::Result<i32, E>` --> file7.rs:3:13 | 3 | let b = Ok(4); | - ^^ cannot infer type for `E` in `std::result::Result<i32, E>` | | | consider giving `b` a type` ``` | ||||
| 2019-05-31 | Alternative wording for inference failure | Esteban Küber | -1/+1 | |
| 2019-05-31 | Add more detail to type inference error | Esteban Küber | -2/+2 | |
| When encountering code where type inference fails, add more actionable information: ``` fn main() { let foo = Vec::new(); } ``` ``` error[E0282]: type annotations needed for `std::vec::Vec<_>` --> $DIR/vector-no-ann.rs:2:16 | LL | let foo = Vec::new(); | --- ^^^^^^^^ cannot infer type for `T` | | | consider giving `foo` the type `std::vec::Vec<_>` with the type parameter `T` specified ``` We still need to modify type printing to optionally accept a `TypeVariableTable` in order to properly print `std::vec::Vec<T>`. CC #25633. | ||||
| 2019-03-11 | Update tests | Vadim Petrochenkov | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -1/+1 | |
| 2018-08-14 | Merged migrated compile-fail tests and ui tests. Fixes #46841. | David Wood | -0/+9 | |
