Refactor info_extractor
to accumulate compilation errors
#1006
Labels
good first issue
Good for newcomers
info_extractor
to accumulate compilation errors
#1006
Currently
ItemImplInfo
,ItemTraitInfo
(and potentially some others) return a compilation error as soon as they encounter a single method with a compilation error. Instead, they should accumulate such errors and combine them withsyn::Error::combine
. This would give a saner developer experience to the users whose contracts have multiple problems at once.Originally pointed out in #980 (comment).
The text was updated successfully, but these errors were encountered: