mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-08 19:40:46 +00:00
minor: Simplify impl-ty parse validation
This commit is contained in:
parent
749fde9017
commit
389323ca09
4 changed files with 75 additions and 56 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue