title: Function opaque return type was inferred as ... which defines the opaque type in terms of itself
body: <p>Xcode gives the error:</p>
  <blockquote>
  <p>Function opaque return type was inferred as 'Button', which defines the opaque type in terms of itself</p>
  </blockquote>
  <p>on the line below:</p>
  <pre><code>@State var showingProfile = false // Could be also Binding or else
  
  var profileButton: some View {
  Button(action: { self.showingProfile.toggle() }) { // &lt;- Error on this line
      Image(systemName: &quot;person.crop.circle&quot;)
          .imageScale(.large)
          .accessibility(label: Text(&quot;User Profile&quot;))
          .navigationBarItems(trailing: self.profileButton)
           .padding() } } }
  </code></pre>