summary refs log tree commit diff
path: root/src/librustdoc/clean/inline.rs
AgeCommit message (Collapse)AuthorLines
2017-06-27rustc: move the PolyFnSig out of TyFnDef.Eduard-Mihai Burtescu-1/+1
2017-06-13On-demand is_const_fnTaylor Cramer-2/+2
2017-06-13Auto merge of #42608 - ollie27:rustdoc_variant_reexport, r=QuietMisdreavusbors-4/+4
rustdoc: Fix missing enum variant reexports Fixes #35488
2017-06-12rustdoc: Fix missing enum variant reexportsOliver Middleton-4/+4
2017-06-07Fix translation of external spans.Inokentiy Babushkin-1/+1
2017-05-28fix RUST_LOG ICE caused by printing a default impl's DefIdAriel Ben-Yehuda-1/+1
2017-05-25Fix merge conflicts.Jeffrey Seyfried-1/+1
2017-05-22rustdoc: Fix names of items in cross crate reexported modulesOliver Middleton-22/+6
For renamed reexports the new name should be used.
2017-05-01Queryify item_body_nested_bodiesTaylor Cramer-2/+3
2017-04-24rustc: expose the common DUMMY_SP query case as tcx methods.Eduard-Mihai Burtescu-2/+1
2017-04-24rustc: rename some of the queries to match tcx methods.Eduard-Mihai Burtescu-26/+26
2017-04-23rustc: make the const-eval cache polymorphic.Eduard-Mihai Burtescu-1/+1
2017-03-23convert inherent-impl-related things to on-demand queriesNiko Matsakis-5/+3
There are now 3 queries: - inherent_impls(def-id): for a given type, get a `Rc<Vec<DefId>>` with all its inherent impls. This internally uses `crate_inherent_impls`, doing some hacks to keep the current deps (which, btw, are not clearly correct). - crate_inherent_impls(crate): gathers up a map from types to `Rc<Vec<DefId>>`, touching the entire krate, possibly generating errors. - crate_inherent_impls_overlap_check(crate): performs overlap checks between the inherent impls for a given type, generating errors.
2017-02-25rustc_typeck: rework coherence to be almost completely on-demand.Eduard-Mihai Burtescu-1/+2
2017-02-25rustc: combine BareFnTy and ClosureTy into FnSig.Eduard-Mihai Burtescu-8/+4
2017-02-25rustc: consolidate dep-tracked hashmaps in tcx.maps.Eduard-Mihai Burtescu-1/+1
2016-12-30Make rustdoc aware of the primitive i128 typeest31-0/+2
Many thanks to ollie27 for spotting all the places.
2016-12-28rustdoc: pretty-print nested bodies in inlined constants.Eduard-Mihai Burtescu-4/+27
2016-12-28rustc: always print nested nodes where a HIR map is available.Eduard-Mihai Burtescu-5/+4
2016-12-28rustc: simplify constant cross-crate loading and rustc_passes::consts.Eduard-Mihai Burtescu-12/+4
2016-12-02Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakisbors-3/+2
[9/n] rustc: move type information out of AdtDef and TraitDef. _This is part of a series ([prev](https://github.com/rust-lang/rust/pull/37688) | [next]()) of patches designed to rework rustc into an out-of-order on-demand pipeline model for both better feature support (e.g. [MIR-based](https://github.com/solson/miri) early constant evaluation) and incremental execution of compiler passes (e.g. type-checking), with beneficial consequences to IDE support as well. If any motivation is unclear, please ask for additional PR description clarifications or code comments._ <hr> Both `AdtDef` and `TraitDef` contained type information (field types, generics and predicates) which was required to create them, preventing their use before that type information exists, or in the case of field types, *mutation* was required, leading to a variance-magicking implementation of `ivar`s. This PR takes that information out and the resulting cleaner setup could even eventually end up merged with HIR, because, just like `AssociatedItem` before it, there's no dependency on types anymore. (With one exception, variant discriminants should probably be moved into their own map later.)
2016-11-30rustdoc: link to cross-crate sources directly.Eduard-Mihai Burtescu-5/+5
2016-11-29rustc: remove type information from TraitDef.Eduard-Mihai Burtescu-3/+2
2016-11-28rustc: embed path resolutions into the HIR instead of keeping DefMap.Eduard-Mihai Burtescu-11/+8
2016-11-24rustdoc: we can now assume DocContext always has a TyCtxt.Eduard-Mihai Burtescu-105/+84
2016-11-24rustdoc: use libsyntax ast::Attribute instead of "cleaning" them.Eduard-Mihai Burtescu-4/+4
2016-11-17hash the contents of impl-item-ref by adding them to visitorNiko Matsakis-2/+2
Also simplify some of the `ty::AssociatedItem` representation, in particular by folding `has_value` into `hir::Defaultness`
2016-11-10rustc: clean up lookup_item_type and remove TypeScheme.Eduard Burtescu-27/+21
2016-11-10rustc: unify and simplify managing associated items.Eduard Burtescu-28/+23
2016-11-08Replace FnvHasher use with FxHasher.Nicholas Nethercote-3/+3
This speeds up compilation by 3--6% across most of rustc-benchmarks.
2016-10-06Rollup merge of #36966 - ollie27:rustdoc_mut_ptr_impl, r=alexcrichtonJonathan Turner-2/+2
rustdoc: Fix missing *mut T impl `impl<T> *mut T` is currently missing from https://doc.rust-lang.org/nightly/std/primitive.pointer.html and this adds it back.
2016-10-04Turn some impossible definitions into ICEsVadim Petrochenkov-10/+8
2016-10-04Eliminate ty::VariantKind in favor of def::CtorKindVadim Petrochenkov-6/+6
2016-10-04Fix cross-crate resolution of half-items created by export shadowingVadim Petrochenkov-3/+4
2016-10-04rustdoc: Fix missing *mut T implOliver Middleton-2/+2
`impl<T> *mut T` is currently missing from https://doc.rust-lang.org/nightly/std/primitive.pointer.html and this adds it back.
2016-10-02Cleanup `return` statements.Corey Farwell-1/+1
2016-10-02Remove redundant 'Type' in variant names, stop reexporting.Corey Farwell-9/+9
2016-09-20rustc_metadata: split the Def description of a DefId from item_children.Eduard Burtescu-4/+6
2016-09-20rustc_metadata: group information into less tags.Eduard Burtescu-12/+6
2016-09-20rustc: remove ImplOrTraitItemId and TraitDef's associated_type_names.Eduard Burtescu-4/+2
2016-09-20rustc_metadata: move more RBML tags to auto-serialization.Eduard Burtescu-47/+63
2016-09-13Remove some ancient code providing special support for newtypesVadim Petrochenkov-6/+5
2016-09-08Refactor `TyStruct`/`TyEnum`/`TyUnion` into `TyAdt`Vadim Petrochenkov-1/+1
2016-09-04Replace `_, _` with `..`Vadim Petrochenkov-1/+1
2016-09-03Fix rebase + address commentsVadim Petrochenkov-1/+1
2016-09-03Support unions in rustdocVadim Petrochenkov-0/+19
2016-08-27Use deterministic `FnvHash{Map,Set}` in rustdocJonas Schievink-3/+3
2016-08-17rustc: remove ParamSpace from Substs.Eduard Burtescu-2/+0
2016-08-17rustc: split Generics of a method from its parent Generics.Eduard Burtescu-10/+11
2016-08-17rustc: reduce Substs and Generics to a simple immutable API.Eduard Burtescu-12/+8