rust/compiler/rustc_trait_selection/src/traits
bors 78fd0f633f Auto merge of #92244 - petrochenkov:alltraits, r=cjgillot
rustc_metadata: Encode list of all crate's traits into metadata

While working on https://github.com/rust-lang/rust/pull/88679 I noticed that rustdoc is casually doing something quite expensive, something that is used only for error reporting in rustc - collecting all traits from all crates in the dependency tree.

This PR trades some minor extra time spent by metadata encoder in rustc for major gains for rustdoc (and for rustc runs with errors, which execute the `all_traits` query for better diagnostics).
2021-12-29 19:22:33 +00:00
..
error_reporting rustc_metadata: Encode list of all crate's traits into metadata 2021-12-28 19:31:51 +08:00
query Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
select normalize env constness for nested obligations 2021-12-25 00:33:23 +08:00
specialize Rollup merge of #91904 - SylvanB:remove_in_band_lifetimes_rustc_trait_selection, r=petrochenkov 2021-12-16 10:12:42 +01:00
auto_trait.rs Ignore other PredicateKinds in rustdoc auto trait finder 2021-12-18 11:26:15 -05:00
chalk_fulfill.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
codegen.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
coherence.rs Rollup merge of #91904 - SylvanB:remove_in_band_lifetimes_rustc_trait_selection, r=petrochenkov 2021-12-16 10:12:42 +01:00
const_evaluatable.rs Rollup merge of #90529 - b-naber:reborrows-consts, r=lcnr 2021-12-05 15:04:20 +01:00
engine.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
fulfill.rs Eliminate ObligationCauseData. 2021-12-20 09:29:20 +11:00
misc.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
mod.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
object_safety.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
on_unimplemented.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
project.rs Auto merge of #92041 - Aaron1011:remove-speculative-evaluation, r=jackh726 2021-12-20 07:30:16 +00:00
relationships.rs Add polarity to TraitPredicate 2021-10-20 12:10:41 -03:00
structural_match.rs Remove in_band_lifetimes from rustc_trait_selection 2021-12-15 21:52:30 +00:00
util.rs Eliminate ObligationCauseData. 2021-12-20 09:29:20 +11:00
wf.rs Eliminate ObligationCauseData. 2021-12-20 09:29:20 +11:00