]> git.lizzy.rs Git - rust.git/commit
Only record the same impl once
authormitaa <mitaa.ceb@gmail.com>
Fri, 22 Apr 2016 15:53:15 +0000 (17:53 +0200)
committermitaa <mitaa.ceb@gmail.com>
Fri, 22 Apr 2016 17:10:30 +0000 (19:10 +0200)
commit8ab2c20d8c018c310a0c286aeb2622c41ef357a1
tree45a3a2cfecca06483b2140a5ea1df3f81a3a3619
parenta264f5b7e8df34c4bf7f10d0c6c7f9ab805ee672
Only record the same impl once

Due to inlining it is possible to visit the same module multiple times
during `<Cache as DocFolder>::fold_crate`, so we keep track of the
modules we've already visited.
src/etc/htmldocck.py
src/librustdoc/html/render.rs
src/test/rustdoc/duplicate_impls/impls.rs [new file with mode: 0644]
src/test/rustdoc/duplicate_impls/issue-33054.rs [new file with mode: 0644]