]> git.lizzy.rs Git - rust.git/commit
rustdoc: Suck in all impls from external crates
authorAlex Crichton <alex@alexcrichton.com>
Thu, 29 May 2014 08:35:44 +0000 (01:35 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Sun, 1 Jun 2014 04:59:50 +0000 (21:59 -0700)
commit8c669d7f749a1f714e00eb4cdcac3a68e2208951
tree5523fd74d0204d6369a04122b8a1eac008d3c6c4
parentc2564b8fd4f9669d2426e0e637e71139e2004ea3
rustdoc: Suck in all impls from external crates

There is currently no way to query all impls for a type from an external crate,
and with primitive types in play this is also quite difficult. Instead of
filtering, just suck in all impls from upstream crates into the local AST, and
have them get stripped later.

This will allow population of all implementations of traits for primitive types,
as well as filling in some corner cases with inlining documentation in other
cases.
src/librustdoc/clean/inline.rs
src/librustdoc/core.rs
src/librustdoc/test.rs