From: bors Date: Thu, 20 Jun 2019 23:44:52 +0000 (+0000) Subject: Auto merge of #60293 - nagisa:rustdoc-all-the-auto-traits, r=eddyb X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=9d5b6efdf62dbcd7bdf8e78a5f69c1b6678fd155;p=rust.git Auto merge of #60293 - nagisa:rustdoc-all-the-auto-traits, r=eddyb rustdoc: generate implementors for all auto traits Previously we would only generate a list of synthetic implementations for two well known traits – Send and Sync. With this patch all the auto traits known to rustc are considered. This includes such traits like Unpin and user’s own traits. Sadly the implementation still iterates through the list of crate items and checks them against the traits, which for non-std crates containing their own auto-traits will still not include types defined in std/core. It is an improvement nontheless. --- 9d5b6efdf62dbcd7bdf8e78a5f69c1b6678fd155