code: func (d Diagnostics) InConfigBody(body hcl.Body) Diagnostics {
  	if len(d) == 0 {
  		return nil
  	}
  
  	ret := make(Diagnostics, len(d))
  	for i, srcDiag := range d {
  		if cd, isCD := srcDiag.(contextualFromConfigBody); isCD {
  			ret[i] = cd.ElaborateFromConfigBody(body)
  		} else {
  			ret[i] = srcDiag
  		}
  	}
  
  	return ret
  }
docs: // InConfigBody returns a copy of the receiver with any config-contextual
  // diagnostics elaborated in the context of the given body.