about summary refs log tree commit diff
path: root/src/test/ui/parser/pat-lt-bracket-2.stderr
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-18/+0
2021-08-12Use smaller spans for some structured suggestionsEsteban Kuber-2/+2
Use more accurate suggestion spans for * argument parse error * fully qualified path * missing code block type * numeric casts * E0212
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
2020-02-02parser: address review comments re. `self`.Mazdak Farrokhzad-0/+4
2019-11-06Remove "here" from "expected one of X here"Esteban Küber-1/+1
2019-10-02syntax: improve parameter without type suggestionsDavid Wood-0/+6
This commit improves the suggestions provided when function parameters do not have types: - A new suggestion is added for arbitrary self types, which suggests adding `self: ` before the type. - Existing suggestions are now provided when a `<` is found where a `:` was expected (previously only `,` and `)` or trait items), this gives suggestions in the case where the unnamed parameter type is generic in a free function. - The suggestion that a type name be provided (e.g. `fn foo(HashMap<u32>)` -> `fn foo(HashMap: TypeName<u32>)`) will no longer occur when a `<` was found instead of `:`. - The ident will not be used for recovery when a `<` was found instead of `:`. Signed-off-by: David Wood <david@davidtw.co>
2019-08-25parser: gracefully handle `fn foo(A | B: type)`.Mazdak Farrokhzad-2/+2
2019-01-06tests: Do not use `-Z parse-only`, continue compilation to test recoveryVadim Petrochenkov-1/+1
2018-12-25Remove licensesMark Rousskov-1/+1
2018-10-21Make sure all ui/parse tests have `-Z parse-only`Vadim Petrochenkov-7/+2
Except those testing parsing during macro expansion
2018-10-21Move parse-fail tests to UIVadim Petrochenkov-0/+13