about summary refs log tree commit diff
path: root/tests/ui/parser/expr-as-stmt.rs
AgeCommit message (Collapse)AuthorLines
2025-08-31More targeted parentheses suggestion for match statement intended as expressionEsteban Küber-0/+9
``` error[E0308]: mismatched types --> $DIR/expr-as-stmt.rs:69:5 | LL | match () { () => 1 } + match () { () => 1 } | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found integer | help: parentheses are required to parse this as an expression | LL | (match () { () => 1 }) + match () { () => 1 } | + + ```
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-01-11Move /src/test to /testsAlbert Larsan-0/+79