title: Contextual type for closure argument list expects 1 argument, which cannot be implicitly ignored
body: <p>@IBAction func promptForLocation(_ sender: Any) {</p>
  <p>let submitAction = UIAlertAction(
  title: &quot;Submit&quot;,
  style: .default</p>
  <pre><code>    ) { // error Line(This line
         
          guard let newLocation = alert.textFields?.first?.text
          else {
              return
          }
  </code></pre>
  <p>// how to fix this error?</p>