68a22aac3c
Added impl of `fmt::Display` for `Cfg` Added `fn matched_defines(…)` for filtering for matches in `[defines]` Changes semantic of `has_defines` from `∀` to `∃` (i.e. all -> one or more) Changed `write_before` to use `matched_defines` Added logging of warning for omitted `#[cfg(…)]`s Added expectations for `mod_attr` test project Renamed function arguments in `mod_attr` test project Rustfmt Introduced `Condition` type to ensure correct API usage of `Cfg` Merged `Condition::Boolean` and `Condition::Named` into `Condition::Define` Removed `DefineConfig` and `MissingDefineBehavior`. (Was getting a bit ahead of myself with these.) Rustfmt