Eduard-Mihai Burtescu
4c7eb59e81
rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
2020-02-06 21:46:38 +02:00
Esteban Küber
5b36c187dc
review comments
2020-01-16 09:49:13 -08:00
Esteban Küber
e1dd8a9095
When trait bounds are missing for return values, point at them
2020-01-16 09:37:24 -08:00
Janusz Marcinkiewicz
e305bf8bc8
Rename tests and add short test description
2019-12-07 08:55:09 +01:00
Lukas Kalbertodt
c36b9ddcb4
Add UI tests for array::IntoIter impls
...
This it to make sure traits are implemented for arrays with length 32
and below, while they are not implemented for >= 33.
2019-10-24 15:46:44 +02:00
Esteban Küber
02e3fb89a7
When possible point at argument causing item obligation failure
2019-09-19 12:10:23 -07:00
Jake Goulding
32324d22c3
Add implementations for converting boxed slices into boxed arrays
...
This mirrors the implementations of reference slices into arrays.
2019-08-05 10:26:53 -04:00
Mazdak Farrokhzad
bfdfa85e73
Add tests for Vec(Deque) array PartialEq impls.
2019-07-28 06:46:41 +02:00
Scott McMurray
d6a9793722
Use const generics for array impls, restricted to 0..=32
...
- uses a never-stable core::array::LengthAtMost32 to bound the impls
- includes a custom error message to avoid mentioning LengthAtMost32 too often
- doesn't use macros for the slice implementations to avoid #62433
2019-07-07 11:31:38 -07:00