summary refs log tree commit diff
path: root/src/librustdoc/clean
AgeCommit message (Collapse)AuthorLines
2018-09-13introduce SelfCtorF001-1/+2
2018-09-08Auto merge of #53705 - ms2300:tmp, r=oli-obkbors-2/+2
#53576 Renaming TyAnon -> TyOpaque Fixes #53576
2018-09-05Changing TyAnon -> TyOpaque and relevant functionsms2300-2/+2
2018-08-31rustc_typeck: turn `where Type:,` into a WF(Type) predicate, instead of ↵Eduard-Mihai Burtescu-1/+7
ignoring it.
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-10/+10
or "".into()
2018-08-22Auto merge of #53607 - GuillaumeGomez:rollup, r=GuillaumeGomezbors-0/+9
Rollup of 10 pull requests Successful merges: - #53418 (Mark some suggestions as MachineApplicable) - #53431 (Moved some feature gate ui tests to correct location) - #53442 (Update version of rls-data used with save-analysis) - #53504 (Set applicability for more suggestions.) - #53541 (Fix missing impl trait display as ret type) - #53544 (Point at the trait argument when using unboxed closure) - #53558 (Normalize source line and column numbers.) - #53562 (Lament the invincibility of the Turbofish) - #53574 (Suggest direct raw-pointer dereference) - #53585 (Remove super old comment on function that parses items) Failed merges: - #53472 (Use FxHash{Map,Set} instead of the default Hash{Map,Set} everywhere in rustc.) - #53563 (use String::new() instead of String::from(""), "".to_string(), "".to_owned() or "".into()) r? @ghost
2018-08-22Rollup merge of #53541 - GuillaumeGomez:fix-impl-trait-ret-type, r=oli-obkGuillaume Gomez-0/+9
Fix missing impl trait display as ret type I need to convert a `TraitPredicate` into a `TraitBound` to get the returned impl trait. So far, didn't find how or even if it was the good way to do it. cc @eddyb @oli-obk (since you're the one behind the change apparently 😉)
2018-08-22Replace TyForeign with ForeignTyvarkor-2/+2
2018-08-22Rename Def::{Param, Foreign} to Def::{TyParam, TyForeign}varkor-6/+6
2018-08-22Remove unnecessary TyKind::svarkor-1/+1
2018-08-22Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}varkor-24/+24
2018-08-22Remove Ty prefix from Ty{Foreign|Param}varkor-8/+8
2018-08-22Remove Ty prefix from ↵varkor-25/+25
Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error}
2018-08-22Rename ty::TyVariants to ty::TyKindvarkor-1/+1
2018-08-21Auto merge of #53439 - ↵bors-90/+88
GuillaumeGomez:generate-blanket-impls-for-reexported-items, r=QuietMisdreavus Generate blanket implementations for reexported items as well Fixes #53374. r? @QuietMisdreavus
2018-08-21Fix missing impl trait display as ret typeGuillaume Gomez-0/+9
2018-08-21Auto merge of #53530 - kennytm:rollup, r=kennytmbors-3/+3
Rollup of 17 pull requests Successful merges: - #53030 (Updated RELEASES.md for 1.29.0) - #53104 (expand the documentation on the `Unpin` trait) - #53213 (Stabilize IP associated constants) - #53296 (When closure with no arguments was expected, suggest wrapping) - #53329 (Replace usages of ptr::offset with ptr::{add,sub}.) - #53363 (add individual docs to `core::num::NonZero*`) - #53370 (Stabilize macro_vis_matcher) - #53393 (Mark libserialize functions as inline) - #53405 (restore the page title after escaping out of a search) - #53452 (Change target triple used to check for lldb in build-manifest) - #53462 (Document Box::into_raw returns non-null ptr) - #53465 (Remove LinkMeta struct) - #53492 (update lld submodule to include RISCV patch) - #53496 (Fix typos found by codespell.) - #53521 (syntax: Optimize some literal parsing) - #53540 (Moved issue-53157.rs into src/test/ui/consts/const-eval/) - #53551 (Avoid some Place clones.) Failed merges: r? @ghost
2018-08-21Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkorkennytm-3/+3
Fix typos found by codespell.
2018-08-20Auto merge of #51880 - varkor:generics-hir-generalisation-followup, r=eddybbors-4/+1
The Great Generics Generalisation: HIR Followup Addresses the final comments in #48149. r? @eddyb, but there are a few things I have yet to clean up. Making the PR now to more easily see when things break. cc @yodaldevoid
2018-08-19mv codemap() source_map()Donato Sciarra-4/+4
2018-08-19mv (mod) codemap source_mapDonato Sciarra-2/+2
2018-08-19mv FileMap SourceFileDonato Sciarra-1/+1
2018-08-19Add Default for GenericParamCountvarkor-4/+1
2018-08-19Fix typos found by codespell.Matthias Krüger-3/+3
2018-08-18Use the new Entry::or_default method where possible.Eduard-Mihai Burtescu-16/+16
2018-08-16Generate blanket implementations for reexported items as wellGuillaume Gomez-90/+88
2018-08-07Add HirId to VisibilityKind::RestrictedMark Rousskov-0/+2
2018-08-06Auto merge of #52990 - Aaron1011:fix/rustdoc-auto-trait-static, r=eddybbors-2/+2
Fix ICE when rustdoc encounters certain usages of HRTBs Fixes #51236 Under certain circumstances, `AutoTraitFinder` could end up computing a `ParamEnv` involving two trait predicates that differed only in the region parameters involved. One of these parameters would be a HRTB, while the other would be a normal region parameter. When this `ParamEnv` was later passed to `SelectionContext`, an `Ambiguity` error would occur, since the erased versions of these predicates would be identical. To solve the issue, we de-duplicate our list of predicates as we build it up. Whenever we encounter two predicates that differ only in their assignment of region parameters (a HRTB vs a normal lifetime parameter), we pick the HRTB. This corresponds to selecting a 'stricter' bound to display in the generated documentation: we're requiring that a particular type works for all possible lifetime parameters if it's going to implement a particular auto trait.
2018-08-04turn intra-doc-link collection into an early passQuietMisdreavus-551/+13
2018-08-04Update to masterGuillaume Gomez-9/+6
2018-08-04Remove FinderTrait and move its functions into DocContextGuillaume Gomez-177/+8
2018-08-04Improve functions namingGuillaume Gomez-13/+13
2018-08-04Fix dyn objectsGuillaume Gomez-2/+2
2018-08-04Fix primitive blanket impls not showing upGuillaume Gomez-5/+4
2018-08-04Clean generic impls codeGuillaume Gomez-313/+467
2018-08-03Move unused trait functions to inherent functionsMark Rousskov-1/+1
2018-08-03Store concrete crate stores where possibleMark Rousskov-6/+7
2018-08-02Fix rustdoc crash when 'static bound appears in struct declarationAaron Hill-2/+2
2018-08-01Rollup merge of #52835 - GuillaumeGomez:ice-rustdoc-links, r=eddybPietro Albini-21/+25
Fix Alias intra doc ICE Fixes #52611. cc @QuietMisdreavus r? @varkor
2018-07-31Put back original field discoveryGuillaume Gomez-2/+8
2018-07-30Delete unused code in rustdocMark Rousskov-22/+0
2018-07-30Fix Alias intra doc ICEGuillaume Gomez-21/+19
2018-07-29Remove unused `mut`sMatthew Jasper-1/+1
2018-07-28Auto merge of #52585 - GuillaumeGomez:generic-impls, r=QuietMisdreavusbors-28/+148
[rustdoc] Generic impls Fixes #33772. r? @QuietMisdreavus
2018-07-28Move blanket implementations generation into its own functionGuillaume Gomez-19/+29
2018-07-28Remove core exclusion conditionGuillaume Gomez-13/+13
2018-07-28Don't display full blanket implementation and put it into its own sectionGuillaume Gomez-2/+8
2018-07-25Add missing dynTatsuyuki Ishi-1/+1
2018-07-24Remove generic-impl rendering filterGuillaume Gomez-85/+83
2018-07-24Add src and fix generics display issuesGuillaume Gomez-6/+6