Swift: Recursive use of generic struct
<p>I'm playing around with linked lists in Swift and I'm using:</p>

<pre><code>struct Node&lt;Element&gt; {
    var next: Node&lt;Element&gt;? 
}
</code></pre>

<p>it yields this error:</p>

<pre><code>Recursive value type "Node&lt;Element&gt;" is not allowed.
</code></pre>

<p>I tried using indirect on both the struct declaration and the property but neither worked. How do you implement this type of structure?</p>