about summary refs log tree commit diff
path: root/src/test/ui/empty/empty-struct-unit-expr.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-65/+0
2022-07-16Be more precise when suggesting removal of parens on unit adt ctorMichael Goulet-6/+18
2022-07-01Shorten def_span for more items.Camille GILLOT-1/+1
2022-06-16diagnostics: fix trailing spaceklensy-2/+2
2021-11-16Suggest removal of arguments for unit variant, not replacementEsteban Kuber-4/+6
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-2/+2
2021-08-11Modify structured suggestion outputEsteban Küber-2/+2
* On suggestions that include deletions, use a diff inspired output format * When suggesting addition, use `+` as underline * Color highlight modified span
2019-10-24Increase spacing for suggestions in diagnosticsEsteban Küber-0/+2
Make the spacing between the code snippet and verbose structured suggestions consistent with note and help messages.
2019-03-11Update testsVadim Petrochenkov-2/+2
2018-12-25Remove licensesMark Rousskov-4/+4
2018-11-10in which the E0618 "expected function" diagnostic gets a makeoverZack M. Davis-4/+12
Now the main span focuses on the erroneous not-a-function callee, while showing the entire call expression is relegated to a secondary span. In the case where the erroneous callee is itself a call, we point out the definition, and, if the call expression spans multiple lines, tentatively suggest a semicolon (because we suspect that the "outer" call is actually supposed to be a tuple). The new `bug!` assertion is, in fact, safe (`confirm_builtin_call` is only called by `check_call`, which is only called with a first arg of kind `ExprKind::Call` in `check_expr_kind`). Resolves #51055.
2018-08-14Merged migrated compile-fail tests and ui tests. Fixes #46841.David Wood-0/+41