fn inner_dependency_inherit_with<'a>(
    dependency: TomlInheritedDependency,
    name: &str,
    inheritable: impl FnOnce() -> CargoResult<&'a InheritableFields>,
    cx: &mut Context<'_, '_>
) -> CargoResult<TomlDependency>