pub fn check_capacity(
p: &SpatialProgram,
target: &SpatialTarget,
) -> Result<(), SpatialLowerError>Expand description
Refuse p on target when it needs more of any of the part’s resources than it has — before any RTL is
printed. A target with no part (SpatialTarget::part None) is never refused here.