<p dir="auto">It seems like using glob on <code class="notranslate">use</code> statements ends up generating twice the documentation for <code class="notranslate">Impl</code> and <code class="notranslate">Traits</code> of this <code class="notranslate">Struct</code>.</p>
<p dir="auto">If I use:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub use foo::bar::*;"><pre class="notranslate"><code class="notranslate">pub use foo::bar::*;
</code></pre></div>
<p dir="auto">All <code class="notranslate">Impl</code> and <code class="notranslate">Traits</code> of each <code class="notranslate">Struct</code> in <code class="notranslate">foo::bar::*</code> will be duplicated in the doc.<br>
If symbols are listed one by one it works well:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub use foo::bar::baz;
pub use foo::bar::boz;"><pre class="notranslate"><code class="notranslate">pub use foo::bar::baz;
pub use foo::bar::boz;
</code></pre></div>
<p dir="auto">Issue can be seen when generating the doc from <a href="https://github.com/NewbiZ/rgb/tree/2d3d077120d51bdef42f2e6a83595d2b26a6e04c">https://github.com/NewbiZ/rgb/tree/2d3d077120d51bdef42f2e6a83595d2b26a6e04c</a></p>
<p dir="auto">If you change in <code class="notranslate">src/lib.rs</code>:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub use self::cpu::*;"><pre class="notranslate"><code class="notranslate">pub use self::cpu::*;
</code></pre></div>
<p dir="auto">by</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub use self::cpu::Cpu;
pub use self::cpu::Flag;"><pre class="notranslate"><code class="notranslate">pub use self::cpu::Cpu;
pub use self::cpu::Flag;
</code></pre></div>
<p dir="auto">it will work.</p>
<p dir="auto">small snippet called arg0.rs:</p>
<div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main ()
{
    let args : ~[~str] = ::std::os::args();
    ::std::io::println(args[0]);
}"><pre class="notranslate"><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-k">let</span> args <span class="pl-kos">:</span> ~<span class="pl-kos">[</span>~<span class="pl-smi">str</span><span class="pl-kos">]</span> = <span class="pl-kos">::</span>std<span class="pl-kos">::</span>os<span class="pl-kos">::</span><span class="pl-en">args</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
    <span class="pl-kos">::</span>std<span class="pl-kos">::</span>io<span class="pl-kos">::</span><span class="pl-en">println</span><span class="pl-kos">(</span>args<span class="pl-kos">[</span><span class="pl-c1">0</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ rustc -Z debug-info arg0.rs
$ gdb arg0 
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-unknown-linux-gnu&quot;.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;...
Reading symbols from /home/asamoilov/work/projects/rust-sandbox/my-rust/arg0...done.
(gdb) l
1   arg0.rc: No such file or directory.
(gdb) quit"><pre class="notranslate"><code class="notranslate">$ rustc -Z debug-info arg0.rs
$ gdb arg0 
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;...
Reading symbols from /home/asamoilov/work/projects/rust-sandbox/my-rust/arg0...done.
(gdb) l
1   arg0.rc: No such file or directory.
(gdb) quit
</code></pre></div>
<p dir="auto">i.e. expects arg0.rc instead of arg0.rs</p>
<p dir="auto">Thanks</p>