fn validate_dependencies(
original_deps: Option<&BTreeMap<PackageName, InheritableDependency>>,
platform: Option<&Platform>,
kind: Option<DepKind>,
warnings: &mut Vec<String>,
) -> CargoResult<()>
fn validate_dependencies(
original_deps: Option<&BTreeMap<PackageName, InheritableDependency>>,
platform: Option<&Platform>,
kind: Option<DepKind>,
warnings: &mut Vec<String>,
) -> CargoResult<()>