about summary refs log tree commit diff
path: root/src/test/ui/vector-no-ann.rs
AgeCommit message (Collapse)AuthorLines
2020-12-31Move array-slice-vec-related testsYuki Okushi-4/+0
2019-05-31Add more detail to type inference errorEsteban Küber-1/+1
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.
2018-12-25Remove licensesMark Rousskov-11/+0
2017-12-14Remove NOTE/HELP annotations from UI testsVadim Petrochenkov-2/+0
2017-12-14Move compile-fail tests with NOTE/HELP annotations to UIVadim Petrochenkov-0/+17