about summary refs log tree commit diff
path: root/tests/ui/parser/missing-closing-angle-bracket-eq-constraint.stderr
AgeCommit message (Collapse)AuthorLines
2024-03-01Detect more cases of `=` to `:` typoEsteban Küber-9/+9
When a `Local` is fully parsed, but not followed by a `;`, keep the `:` span arround and mention it. If the type could continue being parsed as an expression, suggest replacing the `:` with a `=`. ``` error: expected one of `!`, `+`, `->`, `::`, `;`, or `=`, found `.` --> file.rs:2:32 | 2 | let _: std::env::temp_dir().join("foo"); | - ^ expected one of `!`, `+`, `->`, `::`, `;`, or `=` | | | while parsing the type for `_` | help: use `=` if you meant to assign ``` Fix #119665.
2024-01-31Remove a has_errors check that does not prevent follow up error noiseOli Scherer-2/+2
2023-12-01Tweak unclosed generics errorsEsteban Küber-6/+4
Remove unnecessary span label for parse errors that already have a suggestion. Provide structured suggestion to close generics in more cases.
2023-02-09Don't expose type parameters and implementation details from macro expansion许杰友 Jieyou Xu (Joe)-6/+6
2023-01-11Move /src/test to /testsAlbert Larsan-0/+66