Import trait from another file
<p>I have a file called <code>Model.scala</code> which begins with the following lines:</p>

<pre><code>package chess

trait Content
</code></pre>

<p>In the same directory, I have another file called <code>Board.scala</code> that starts with the following:</p>

<pre><code>package chess

import chess.Content
</code></pre>

<p>However, in <code>Board.scala</code>, I am getting this error:</p>

<pre><code>Error:(3, 8) object Content is not a member of package chess
import chess.Content
       ^
</code></pre>

<p>So how can I import a <code>Trait</code> from another file?</p>