pub fn validate_profiles(
natspec: &NatSpec,
profiles: &[String],
) -> Result<(), InlineConfigError>
Expand description
Checks if all configuration lines specified in natspec
use a valid profile.
i.e. Given available profiles
let _profiles = vec!["ci", "default"];
A configuration like forge-config: ciii.invariant.depth = 1
would result
in an error.