about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec
AgeCommit message (Collapse)AuthorLines
2023-11-24Show number in error message even for one errorNilstrieb-10/+10
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-10-04Reorder fullfillment errors to keep more interesting ones firstEsteban Küber-1/+1
In `report_fullfillment_errors` push back `T: Sized`, `T: WellFormed` and coercion errors to the end of the list. The pre-existing deduplication logic eliminates redundant errors better that way, keeping the resulting output with fewer errors than before, while also having more detail.
2023-08-04Improve spans for indexing expressionsNilstrieb-8/+8
Indexing is similar to method calls in having an arbitrary left-hand-side and then something on the right, which is the main part of the expression. Method calls already have a span for that right part, but indexing does not. This means that long method chains that use indexing have really bad spans, especially when the indexing panics and that span in coverted into a panic location. This does the same thing as method calls for the AST and HIR, storing an extra span which is then put into the `fn_span` field in THIR.
2023-07-17address reviewb-naber-11/+10
2023-07-17add test, bless testsb-naber-32/+18
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-1/+1
2023-05-05tweak "make mut" spans when assigning to localsEzra Shaw-1/+1
2023-04-12Tweak output for 'add line' suggestionEsteban Küber-2/+4
2023-01-30Modify primary span label for E0308Esteban Küber-5/+5
The previous output was unintuitive to users.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2270