Name Description Size Coverage
accrue_errors.rs These tests verify that multiple errors will be collected up from throughout the parsing process and returned correctly to the caller. 2351 -
attrs_with.rs 2001 -
compile-fail -
compiletests.rs 395 -
computed_bound.rs 845 -
custom_bound.rs 541 -
defaults.rs 5202 -
enums_default.rs 756 -
enums_newtype.rs 2737 -
enums_struct.rs Test expansion of enums which have struct variants. 293 -
enums_unit.rs Test expansion of enum variants which have no associated data. 240 -
error.rs In case of bad input, parsing should fail. The error should have locations set in derived implementations. 1211 -
flatten.rs 5572 -
flatten_error_accumulation.rs 1017 -
flatten_from_field.rs 2064 -
forward_attrs_to_from_attributes.rs 550 -
from_generics.rs Tests for `FromGenerics`, and - indirectly - `FromGenericParam`. These tests assume `FromTypeParam` is working and only look at whether the wrappers for magic fields are working as expected. 4843 -
from_meta.rs 2546 -
from_type_param.rs 1436 -
from_type_param_default.rs 1403 -
from_variant.rs 1374 -
generics.rs 427 -
happy_path.rs 1484 -
hash_map.rs 928 -
multiple.rs 603 -
newtype.rs A newtype struct should be able to derive `FromMeta` if its member implements it. 569 -
skip.rs Test that skipped fields are not read into structs when they appear in input. 1681 -
split_declaration.rs When input is split across multiple attributes on one element, darling should collapse that into one struct. 1648 -
suggestions.rs 1068 -
supports.rs 2537 -
unsupported_attributes.rs 1133 -