minor: Simplify impl-ty parse validation

This commit is contained in:
Lukas Wirth 2025-03-25 09:58:17 +01:00
parent 749fde9017
commit 389323ca09
4 changed files with 75 additions and 56 deletions

View file

@ -20,4 +20,4 @@ SOURCE_FILE@0..16
STMT_LIST@14..16
L_CURLY@14..15 "{"
R_CURLY@15..16 "}"
error 8..12: At least one trait must be specified
error 8..12: At least one trait is required for an object type

View file

@ -22,4 +22,4 @@ SOURCE_FILE@0..17
STMT_LIST@15..17
L_CURLY@15..16 "{"
R_CURLY@16..17 "}"
error 9..13: At least one trait must be specified
error 9..13: At least one trait is required for an object type

View file

@ -26,4 +26,4 @@ SOURCE_FILE@0..20
STMT_LIST@18..20
L_CURLY@18..19 "{"
R_CURLY@19..20 "}"
error 9..16: At least one trait must be specified
error 9..16: At least one trait is required for an object type