| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-06-18 | Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelix | bors | -1/+8 | |
| Add existential type definitions Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items. r? @nikomatsakis | ||||
| 2018-06-17 | Auto merge of #51382 - GuillaumeGomez:intra-link-lint, r=QuietMisdreavus | bors | -5/+17 | |
| Add lint for intra link resolution failure This PR is almost done, just remains this note: ``` note: requested on the command line with `-W intra-link-resolution-failure` ``` I have no idea why my lint is considered as being passed through command line and wasn't able to find where it was set. If anyone has an idea, it'd be very helpful! cc @QuietMisdreavus | ||||
| 2018-06-15 | process cross-crate glob re-exports | QuietMisdreavus | -0/+24 | |
| 2018-06-13 | Rename intra-doc lint | Guillaume Gomez | -3/+3 | |
| 2018-06-13 | Update help message to escape square brackets | Guillaume Gomez | -2/+2 | |
| 2018-06-13 | Add help for intra-link lint | Guillaume Gomez | -3/+5 | |
| 2018-06-11 | Fix extern prelude failure in rustdoc | Guillaume Gomez | -1/+1 | |
| 2018-06-09 | Add lint for intra link resolution failure | Guillaume Gomez | -5/+15 | |
| 2018-06-08 | Rollup merge of #51391 - estebank:docspan, r=GuillaumeGomez | Mark Rousskov | -16/+46 | |
| Use spans pointing at the inside of a rustdoc attribute Follow up to #51111. Point to the link in a rustdoc attribute where intralink resolution failed, instead of the full rustdoc attribute's span. r? @GuillaumeGomez cc @kennytm | ||||
| 2018-06-08 | Fix rustdoc | Oliver Schneider | -1/+8 | |
| 2018-06-07 | Use `from_inner_byte_pos` for cleaner code | Esteban Küber | -3/+4 | |
| 2018-06-07 | Add existential type definitons | Oliver Schneider | -1/+1 | |
| 2018-06-06 | When unable to sinthesize link span, fallback to previous behavior | Esteban Küber | -20/+35 | |
| 2018-06-06 | Use spans pointing at the inside of a rustdoc attribute | Esteban Küber | -16/+30 | |
| 2018-06-04 | Few improvements | Guillaume Gomez | -4/+3 | |
| 2018-06-04 | Add doc keyword support | Guillaume Gomez | -2/+63 | |
| 2018-06-03 | Show which line the link is coming from. | kennytm | -7/+38 | |
| 2018-06-03 | Point to the rustdoc attribute where intralink resolution failed. | kennytm | -8/+17 | |
| 2018-06-01 | merge UNNECESSARY_EXTERN_CRATE and UNUSED_EXTERN_CRATES | Niko Matsakis | -1/+1 | |
| 2018-05-26 | Use `Ident`s for fields in HIR | Vadim Petrochenkov | -7/+7 | |
| 2018-05-24 | Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27 | kennytm | -0/+3 | |
| rustdoc: hide macro export statements from docs As mentioned in https://github.com/rust-lang/rust/issues/50647, rustdoc now prints both the import statement and the macro itself when re-exporting macros. This is a stopgap solution to clean up the std docs and get something small backported into beta. What this does: When rustdoc finds an export statement for a macro, instead of printing the export and bailing, now it will instead hide the export and bail. Until we can solve https://github.com/rust-lang/rust/issues/34843 or have a better way to find the attributes on an export statement when inlining macros, this will at least match the current behavior and clean up the re-export statements from the docs. | ||||
| 2018-05-23 | rustdoc: hide macro export statements from docs | QuietMisdreavus | -0/+3 | |
| 2018-05-23 | Rollup merge of #50875 - QuietMisdreavus:short-features, r=GuillaumeGomez | kennytm | -22/+30 | |
| rustdoc: use "short form" doc(cfg) printing even when combined with other conditionals Fixes https://github.com/rust-lang/rust/issues/49334 The original "short form" printing was introduced when `target_feature` was added to the `doc(cfg)` handling. However, it didn't properly propagate the "short form" indicator if the cfg was a combination of multiple conditionals, so the linked issue happened. This changes the handling to use a bool in the original `Html` wrapper, rather than a separate wrapper struct that defers to the original one. | ||||
| 2018-05-21 | rustc: move TypeParamDef's fields into GenericParamDefKind::Type. | Eduard-Mihai Burtescu | -3/+3 | |
| 2018-05-19 | rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded ↵ | Eduard-Mihai Burtescu | -5/+5 | |
| constants". | ||||
| 2018-05-18 | propagate "short form" into all Html prints | QuietMisdreavus | -22/+30 | |
| 2018-05-18 | Auto merge of #50533 - GuillaumeGomez:rustdoc-prim-auto, r=QuietMisdreavus | bors | -16/+46 | |
| add auto-impl for primitive type Part of #50431. I have no clue how to test this though with the rustdoc test suite... r? @QuietMisdreavus | ||||
| 2018-05-16 | Fix rustdoc panic with `impl Trait` in type parameters | Shotaro Yamada | -6/+29 | |
| 2018-05-15 | Auto merge of #48523 - varkor:generics-ty-generalisations, r=nikomatsakis | bors | -78/+100 | |
| The Great Generics Generalisation: Ty Edition Part of the generic parameter refactoring effort, split off from https://github.com/rust-lang/rust/pull/48149. Contains the `ty`-relative refactoring. r? @eddyb | ||||
| 2018-05-15 | add auto-impl for primitive type | Guillaume Gomez | -16/+46 | |
| 2018-05-15 | Refactoring generic counting loops | varkor | -1/+5 | |
| 2018-05-15 | Lift pure_wrt_drop to GenericParamDef | varkor | -2/+2 | |
| 2018-05-15 | Refactor generic params loops | varkor | -1/+1 | |
| 2018-05-15 | Pull common parameters into GenericParamDef | varkor | -18/+18 | |
| This leads to a lot of simplifications, as most code doesn't actually need to know about the specific lifetime/type data; rather, it's concerned with properties like name, index and def_id. | ||||
| 2018-05-15 | Inline get_type | varkor | -5/+4 | |
| 2018-05-15 | Use GenericParamCount instead of FxHashMap | varkor | -16/+19 | |
| 2018-05-15 | Correct variable renaming fallout | varkor | -2/+2 | |
| 2018-05-15 | Eliminate ty::Generics::types() | varkor | -5/+9 | |
| And with one final incanation, the specific kind iterators were banished from ty::Generics, never to be seen again! | ||||
| 2018-05-15 | Eliminate ty::Generics::lifetimes() | varkor | -4/+9 | |
| Begone lazy lifetime code! | ||||
| 2018-05-15 | Generalise more cases of explicit iteration of specific kinds | varkor | -2/+2 | |
| 2018-05-15 | Generalise cases of explicit iteration of specific kinds | varkor | -39/+50 | |
| 2018-05-15 | Rename TypeParameterDef -> TypeParamDef and RegionParameterDef -> RegionParamDef | varkor | -3/+3 | |
| 2018-05-15 | Rename GenericParam to GenericParamDef | varkor | -18/+18 | |
| 2018-05-15 | Prefer iterator to vec | varkor | -2/+1 | |
| 2018-05-15 | Consolidate ty::Generics | varkor | -31/+28 | |
| 2018-05-15 | Rollup merge of #50691 - ollie27:rustdoc_pub_restricted, r=QuietMisdreavus | Guillaume Gomez | -3/+14 | |
| rustdoc: Add support for pub(restricted) This is useful when using `--document-private-items`. r? @QuietMisdreavus | ||||
| 2018-05-13 | Add a Rayon thread pool | John Kåre Alsaker | -2/+2 | |
| 2018-05-12 | rustdoc: Add support for pub(restricted) | Oliver Middleton | -3/+14 | |
| 2018-05-11 | Introduce ConstValue and use it instead of miri's Value for constant values | John Kåre Alsaker | -6/+3 | |
| 2018-05-10 | Auto merge of #50395 - Zoxc:small-tys, r=michaelwoerister | bors | -6/+6 | |
| Optimize layout of TypeVariants This makes references to `Slice` use thin pointers by storing the slice length in the slice itself. `GeneratorInterior` is replaced by storing the movability of generators in `TyGenerator` and the interior witness is stored in `GeneratorSubsts` (which is just a wrapper around `&'tcx Substs`, like `ClosureSubsts`). Finally the fields of `TypeAndMut` is stored inline in `TyRef`. These changes combine to reduce `TypeVariants` from 48 bytes to 24 bytes on x86_64. r? @michaelwoerister | ||||
