code: func WholeContainingBody(severity Severity, summary, detail string) Diagnostic {
  	return &wholeBodyDiagnostic{
  		diagnosticBase: diagnosticBase{
  			severity: severity,
  			summary:  summary,
  			detail:   detail,
  		},
  	}
  }
docs: // WholeContainingBody returns a diagnostic about the body that is an implied
  // current configuration context. This should be returned only from
  // functions whose interface specifies a clear configuration context that this
  // will be resolved in.
  //
  // The returned attribute will not have source location information until
  // context is applied to the containing diagnostics using diags.InConfigBody.
  // After context is applied, the source location is currently the missing item
  // range of the body. In future, this may change to some other suitable
  // part of the containing body.