pub fn validate_profile(
profile: &DeclarativeProfile,
) -> Result<(), ProfileError>Expand description
Check that a profile is one the single-pass interpreter can read.
scan_profile calls this first, so validating separately is only worth
it to report a bad configuration before any file is opened.
ยงErrors
Returns the first ProfileError the profile runs into. The checks are
on the profile alone and never on a source, so the answer is the same
every time.