about summary refs log tree commit diff
path: root/tests/ui/suggestions/args-instead-of-tuple-errors.stderr
AgeCommit message (Collapse)AuthorLines
2023-02-14Re-add replacement logic and add comment explaining itEsteban Küber-8/+12
2023-02-14Show the effects of weird code commented outEsteban Küber-12/+8
2023-02-14rebase and review commentsEsteban Küber-2/+2
2023-02-14More accurate spans for arg removal suggestionEsteban Küber-4/+6
2023-01-30Modify primary span label for E0308Esteban Küber-4/+4
The previous output was unintuitive to users.
2023-01-13Emit a hint for bad call return types due to generic argumentsRobin Schroer-0/+21
When the return type of a function call depends on the type of an argument, e.g. ``` fn foo<T>(x: T) -> T { x } ``` and the expected type is set due to either an explicitly typed binding, or because the call to the function is in a tail position without semicolon, the current error implies that the argument in the call has the wrong type. This new hint highlights that the expected type doesn't match the returned type, which matches the argument type, and that that's why we're flagging the argument type. Fixes #43608.
2023-01-11Move /src/test to /testsAlbert Larsan-0/+86