code: func (s *ModuleState) RemovedOutputs(outputs map[string]*configs.Output) []addrs.OutputValue {
  	if outputs == nil {
  		// If we got no output map at all then we'll just treat our set of
  		// configured outputs as empty, since that suggests that they've all
  		// been removed by removing their containing module.
  		outputs = make(map[string]*configs.Output)
  	}
  
  	s.Lock()
  	defer s.Unlock()
  
  	var ret []addrs.OutputValue
  	for n := range s.Outputs {
  		if _, declared := outputs[n]; !declared {
  			ret = append(ret, addrs.OutputValue{
  				Name: n,
  			})
  		}
  	}
  
  	return ret
  }
docs: // RemovedOutputs returns a list of outputs that are in the State but aren't
  // present in the configuration itself.