Name Description Size
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
compile-fail
compiletests.rs 395
computed_bound.rs 845
custom_bound.rs 541
defaults.rs 5204
enums_newtype.rs 1822
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
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 1320
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 620
supports.rs 2537
unsupported_attributes.rs 1693