summary refs log tree commit diff
path: root/src/librustdoc/clean/simplify.rs
AgeCommit message (Collapse)AuthorLines
2019-03-10Make the rustc driver and interface demand drivenJohn Kåre Alsaker-2/+2
2019-02-23Transition librustdoc to 2018 editionHirokazu Hata-6/+6
2019-02-10rustc: doc commentsAlexander Regueiro-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-11-14Wrap some query results in `Lrc`.Nicholas Nethercote-2/+2
So that the frequent clones in `try_get` are cheaper. Fixes #54274.
2018-09-28rustc: keep a Span for each predicate in ty::GenericPredicates.Eduard-Mihai Burtescu-1/+1
2018-08-18Use the new Entry::or_default method where possible.Eduard-Mihai Burtescu-2/+2
2018-08-04Clean generic impls codeGuillaume Gomez-1/+1
2018-06-20Make GenericBound explicitvarkor-2/+2
2018-06-20Rename ParamBound(s) to GenericBound(s)varkor-1/+1
2018-06-20Use ParamBounds in WhereRegionPredicatevarkor-1/+1
2018-06-20Lift bounds into GenericParamvarkor-1/+1
2018-06-20Refactor generic parameters in rustdoc/cleanvarkor-2/+7
2018-06-20Rename "parameter" to "arg"varkor-1/+1
2018-06-20Rename PathParameter(s) to GenericArg(s)varkor-1/+1
2018-04-24Make Binder's field private and clean up its usageTyler Mandry-1/+1
2018-02-07rustdoc: Hide `-> ()` in cross crate inlined Fn* boundsOliver Middleton-1/+3
2017-12-18Fix ?Sized where bound not being displayed at the correct placeGuillaume Gomez-0/+1
2017-09-05Test rustdoc unit tests.Mark Simulacrum-7/+2
Doc tests are temporarily disabled until next release cycle, since current beta Cargo errors on them. Upgrade should be smooth as the relevant tests are already fixed in this commit.
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-1/+1
2016-11-24rustdoc: we can now assume DocContext always has a TyCtxt.Eduard-Mihai Burtescu-1/+1
2016-11-10rustc: clean up lookup_item_type and remove TypeScheme.Eduard Burtescu-1/+1
2016-10-02Cleanup `return` statements.Corey Farwell-1/+1
2016-08-17rustc: use Vec instead of VecPerParamSpace for ty::GenericPredicates.Eduard Burtescu-23/+12
2016-05-03rustdoc: use btree map for where clausesGeorg Brandl-3/+3
to get more reproducible output. Fixes: #32555
2016-04-06rustc: move middle::{def,def_id,pat_util} to hir.Eduard Burtescu-1/+1
2016-03-27rustc: move cfg, infer, traits and ty from middle to top-level.Eduard Burtescu-2/+2
2016-03-27rustc: move middle::subst into middle::ty.Eduard Burtescu-1/+1
2015-08-24fallout from moving def-idNiko Matsakis-3/+3
2015-06-26rustc: switch most remaining middle::ty functions to methods.Eduard Burtescu-3/+2
2015-06-10Removed many pointless calls to *iter() and iter_mut()Joshua Landau-2/+2
2015-04-07rustdoc: Simplify predicates with paren notationAlex Crichton-11/+55
This change is aimed at improving cross-crate (inlined) notation of generic closures. The change modifies `simplify::where_predicates` to handle parenthesized notation as well as starting to handle supertrait bounds as well. This was necessary because all output constraints of closures are bound to `FnOnce` but most trait bounds are that of `FnMut`. Close #21801
2015-04-07rustdoc: Simplify cross-crate where clausesAlex Crichton-0/+136
Add a custom module to rustdoc which simplifies the output of `middle::ty` into a more readable form which tends to be written down anyway! Closes #20646