about summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0423.rs
AgeCommit message (Collapse)AuthorLines
2019-04-19Emit specific error for struct literal in conditionsEsteban Küber-4/+2
2018-12-25Remove licensesMark Rousskov-10/+0
2018-06-04Suggest braces when a struct literal needs themEsteban Küber-0/+19
When writing a struct literal in an expression that expects a block to be started afterwards (like an `if` statement), do not suggest using the same struct literal: ``` did you mean `S { /* fields * /}`? ``` Instead, suggest surrounding the expression with parentheses: ``` did you mean `(S { /* fields * /})`? ```
2018-02-08Move some E0XXX to `ui`Esteban Küber-0/+15