<p dir="auto"><code class="notranslate">/tmp $ cat program.rs</code></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait MyTrait {}

fn main() {}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">MyTrait</span> <span class="pl-kos">{</span><span class="pl-kos">}</span>

<span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto"><code class="notranslate">/tmp $ rustc program.rs</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="program.rs:1:1: 1:17 error: parameter `Self` is never used
program.rs:1 trait MyTrait {}
             ^~~~~~~~~~~~~~~~
program.rs:1:17: 1:17 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
error: aborting due to previous error"><pre class="notranslate"><code class="notranslate">program.rs:1:1: 1:17 error: parameter `Self` is never used
program.rs:1 trait MyTrait {}
             ^~~~~~~~~~~~~~~~
program.rs:1:17: 1:17 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
error: aborting due to previous error
</code></pre></div>
<p dir="auto">My program does not make use of any <code class="notranslate">Self</code> parameter</p>
<p dir="auto"><a href="http://is.gd/GmxfTA" rel="nofollow">Given the input</a></p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="trait T {}"><pre class="notranslate"><span class="pl-k">trait</span> <span class="pl-smi">T</span> <span class="pl-kos">{</span><span class="pl-kos">}</span></pre></div>
<p dir="auto">rustc will complain:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:2:1: 2:11 error: parameter `Self` is never used
&lt;anon&gt;:2 trait T {}
         ^~~~~~~~~~
&lt;anon&gt;:2:1: 2:11 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
&lt;anon&gt;:2 trait T {}
         ^~~~~~~~~~"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:2:1: 2:11 error: parameter `Self` is never used
&lt;anon&gt;:2 trait T {}
         ^~~~~~~~~~
&lt;anon&gt;:2:1: 2:11 help: consider removing `Self` or using a marker such as `core::marker::PhantomFn`
&lt;anon&gt;:2 trait T {}
         ^~~~~~~~~~
</code></pre></div>
<p dir="auto">This may just be a diagnostics issue, but I'll let someone more familiar with Rust make that judgement.</p>