| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-07-27 | Disable lints in rustdoc | Oliver Middleton | -1/+1 | |
| 2018-07-25 | force the doctest rustc thread to share the name of the test | QuietMisdreavus | -2/+2 | |
| 2018-07-25 | report doctest compile failures correctly | QuietMisdreavus | -19/+19 | |
| 2018-07-25 | rustdoc: set panic output before starting compiler thread pool | QuietMisdreavus | -25/+27 | |
| 2018-07-14 | add comment about lints whitelisting | Guillaume Gomez | -0/+2 | |
| 2018-07-14 | Whitelist lints | Guillaume Gomez | -6/+17 | |
| 2018-07-14 | Fix rustdoc run failures by shutting down definitely some lints | Guillaume Gomez | -1/+8 | |
| 2018-07-12 | rustdoc: Hide struct and enum variant constructor imports | Oliver Middleton | -5/+7 | |
| 2018-07-12 | Remove rustdoc plugins | steveklabnik | -58/+12 | |
| See CVE-2018-1000622. | ||||
| 2018-07-05 | Remove unused variable | Guillaume Gomez | -1/+0 | |
| 2018-07-05 | Extend collision prevention to every type | Guillaume Gomez | -5/+1 | |
| 2018-07-05 | Fix macro missing from doc search | Guillaume Gomez | -1/+4 | |
| 2018-06-18 | Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelix | bors | -1/+11 | |
| 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 #51425 - QuietMisdreavus:thats-def-a-namespace-there, ↵ | bors | -0/+5 | |
| r=petrochenkov refactor: create multiple HIR items for imports When lowering `use` statements into HIR, they get a `Def` of the thing they're pointing at. This is great for things that need to know what was just pulled into scope. However, this is a bit misleading, because a `use` statement can pull things from multiple namespaces if their names collide. This is a problem for rustdoc, because if there are a module and a function with the same name (for example) then it will only document the module import, because that's that the lowered `use` statement points to. The current version of this PR does the following: * Whenever the resolver comes across a `use` statement, it loads the definitions into a new `import_map` instead of the existing `def_map`. This keeps the resolutions per-namespace so that all the target definitions are available. * When lowering `use` statements, it looks up the resolutions in the `import_map` and creates multiple `Item`s if there is more than one resolution. * To ensure the `NodeId`s are properly tracked in the lowered module, they need to be created in the AST, and pulled out as needed if multiple resolutions are available. Fixes https://github.com/rust-lang/rust/issues/34843 | ||||
| 2018-06-17 | Auto merge of #51382 - GuillaumeGomez:intra-link-lint, r=QuietMisdreavus | bors | -9/+38 | |
| 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-16 | Auto merge of #51584 - QuietMisdreavus:globs-and-crosses, r=ollie27 | bors | -0/+24 | |
| rustdoc: process cross-crate glob re-exports Turns out, we were deliberately ignoring glob re-exports when they were occurring across crates, even though we were fully processing them for local re-exports. This will at least bring the two into parity. Fixes https://github.com/rust-lang/rust/issues/51252 | ||||
| 2018-06-15 | process cross-crate glob re-exports | QuietMisdreavus | -0/+24 | |
| 2018-06-15 | Fix search fn keyword | Guillaume Gomez | -1/+5 | |
| 2018-06-14 | rustdoc: discard struct ctors from imports | QuietMisdreavus | -0/+5 | |
| 2018-06-13 | Rename intra-doc lint | Guillaume Gomez | -4/+4 | |
| 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-13 | Fix options issues | Guillaume Gomez | -8/+5 | |
| 2018-06-13 | Don't auto-hide inherent impls even if `rustdoc-collapse == true`. | kennytm | -24/+25 | |
| 2018-06-11 | Fix extern prelude failure in rustdoc | Guillaume Gomez | -2/+4 | |
| 2018-06-09 | Add lint for intra link resolution failure | Guillaume Gomez | -9/+39 | |
| 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/+11 | |
| 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-06 | rustdoc: Fix missing stability and src links for inlined external macros | Oliver Middleton | -3/+3 | |
| 2018-06-05 | Rollup merge of #51256 - GuillaumeGomez:fix-rustdoc-crate-name, ↵ | Mark Simulacrum | -1/+4 | |
| r=QuietMisdreavus Fix crate-name option in rustdoc Fixes #51229. r? @QuietMisdreavus | ||||
| 2018-06-04 | Fix crate-name option in rustdoc | Guillaume Gomez | -1/+4 | |
| 2018-06-04 | Remove useless function call for keyword generation in rustdoc | Guillaume Gomez | -2/+1 | |
| 2018-06-04 | Few improvements | Guillaume Gomez | -5/+4 | |
| 2018-06-04 | Add doc keyword support | Guillaume Gomez | -56/+136 | |
| 2018-06-04 | Auto merge of #51334 - Mark-Simulacrum:rollup, r=Mark-Simulacrum | bors | -1/+2 | |
| Rollup of 6 pull requests Successful merges: - #51288 (Remove rustdoc-specific is_import field from HIR) - #51299 (const fn integer operations) - #51317 (Allow enabling incremental via config.toml) - #51323 (Generate br for all two target SwitchInts) - #51326 (Various minor slice iterator cleanups) - #51329 (Remove the unused `-Z trans-time-graph` flag.) Failed merges: | ||||
| 2018-06-03 | Remove is_import field | Mark Simulacrum | -1/+2 | |
| 2018-06-03 | Show which line the link is coming from. | kennytm | -10/+61 | |
| 2018-06-03 | Point to the rustdoc attribute where intralink resolution failed. | kennytm | -8/+17 | |
| 2018-06-03 | Auto merge of #51319 - Mark-Simulacrum:rollup, r=Mark-Simulacrum | bors | -3/+6 | |
| Rollup of 6 pull requests Successful merges: - #51143 (Specify that packed types must derive, not implement, Copy) - #51226 (Make Layout's align a NonZeroUsize) - #51297 (Fix run button style) - #51306 (impl Default for &mut str) - #51312 (Clarify the difference between get_mut and into_mut for OccupiedEntry) - #51313 (use type name in E0599 enum variant suggestion) Failed merges: | ||||
| 2018-06-02 | Rollup merge of #51297 - GuillaumeGomez:fix-run-but-style, r=QuietMisdreavus | Mark Simulacrum | -3/+6 | |
| Fix run button style r? @QuietMisdreavus | ||||
| 2018-06-02 | Add attributes for trait and methods as well | Guillaume Gomez | -13/+21 | |
| 2018-06-02 | Fix run button style | Guillaume Gomez | -3/+6 | |
| 2018-06-01 | merge UNNECESSARY_EXTERN_CRATE and UNUSED_EXTERN_CRATES | Niko Matsakis | -1/+1 | |
| 2018-05-30 | Fixes some style issues in rustdoc "implementations on Foreign types" | Guillaume Gomez | -8/+33 | |
| 2018-05-26 | Add `Ident::as_str` helper | Vadim Petrochenkov | -1/+1 | |
| 2018-05-26 | Use `Ident`s for fields in HIR | Vadim Petrochenkov | -8/+8 | |
