| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-11 | Show summary lines on cross-crate re-exports | Joshua Nelson | -0/+8 | |
| This removes the unnecessary `DocFragmentKind::Divider` in favor of just using the logic I actually want in `collapse_docs`. | ||||
| 2020-09-27 | Resolve `crate` properly across crates | Joshua Nelson | -0/+5 | |
| 2020-09-13 | Add ui test for 74672 and 76571 | Lzu Tao | -0/+28 | |
| These tests will fall without the next commit. | ||||
| 2020-08-30 | Improve tests | Joshua Nelson | -0/+4 | |
| Now this actually tests the links are generated correctly | ||||
| 2020-08-08 | Cross-crate doc inlining test case for elided lifetime | Gary Guo | -0/+11 | |
| 2020-07-19 | Only skip impls of foreign unstable traits | Mark Rousskov | -0/+26 | |
| Previously unstable impls were skipped, which meant that any impl with an unstable method would get skipped. | ||||
| 2020-07-08 | Apply #![crate_type = "rlib"] directly to the linker | Seth Pellegrino | -0/+1 | |
| 2020-07-06 | Two new rustdoc tests for intra links | Seth Pellegrino | -0/+18 | |
| They both produce less-than-desirable output (links going to docs.rust-lang.org), but I haven't figured out yet how to assert about them properly. | ||||
| 2020-06-11 | Add more tests for type alias impl Trait | Matthew Jasper | -0/+17 | |
| 2020-06-10 | Avoid collisions between traits and their derive macros | Manish Goregaokar | -0/+5 | |
| 2020-06-09 | Add test for proc macro resolution in intra doc links | Manish Goregaokar | -0/+30 | |
| 2020-04-29 | rustdoc supports const re-exports | Mark Rousskov | -0/+0 | |
| 2020-04-08 | rustdoc: Don't try to load source files from external crates | Oliver Middleton | -0/+15 | |
| Local items defined in external macros shouldn't generate rendered source files and should link to the external crate's docs instead. | ||||
| 2020-01-26 | rustdoc: Fix re-exporting primitive types | Oliver Middleton | -0/+8 | |
| * Generate links to the primitive type docs for re-exports. * Don't ICE on cross crate primitive type re-exports. * Make primitive type re-exports show up cross crate. | ||||
| 2019-11-08 | rustdoc: Deliberately load extern crates before processing docs | Daniel Silverstone | -0/+2 | |
| In order that we can successfully later resolve paths in crates which weren't loaded as a result of merely parsing the crate we're documenting, we force the resolution of the path to each crate before cloning the resolver to use later. Closes #66159 Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
| 2019-09-27 | Auto merge of #63937 - Nashenas88:rustdoc_57180, r=GuillaumeGomez | bors | -0/+16 | |
| Fix ICE in rustdoc when merging generic and where bounds of an Fn with an output Fixes #57180 | ||||
| 2019-08-28 | Add regression test for issue, apply suggestion to convert to assert_eq | Paul Daniel Faria | -0/+16 | |
| 2019-08-26 | add regression test | Esteban Küber | -0/+20 | |
| 2019-04-22 | Remove double trailing newlines | varkor | -1/+0 | |
| 2019-04-11 | Auto merge of #58972 - QuietMisdreavus:intra-doc-link-imports, r=GuillaumeGomez | bors | -0/+6 | |
| rustdoc: don't process `Crate::external_traits` when collecting intra-doc links Part of https://github.com/rust-lang/rust/issues/58745, closes https://github.com/rust-lang/rust/pull/58917 The `collect-intra-doc-links` pass keeps track of the modules it recurses through as it processes items. This is used to know what module to give the resolver when looking up links. When looking through the regular items of the crate, this works fine, but the `DocFolder` trait as written doesn't just process the main crate hierarchy - it also processes the trait items in the `external_traits` map. This is useful for other passes (so they can strip out `#[doc(hidden)]` items, for example), but here it creates a situation where we're processing items "outside" the regular module hierarchy. Since everything in `external_traits` is defined outside the current crate, we can't fall back to finding its module scope like we do with local items. Skipping this collection saves us from emitting some spurious warnings. We don't even lose anything by skipping it, either - the docs loaded from here are only ever rendered through `html::render::document_short` which strips any links out, so the fact that the links haven't been loaded doesn't matter. Hopefully this removes most of the remaining spurious resolution warnings from intra-doc links. r? @GuillaumeGomez | ||||
| 2019-03-14 | Moved issue tests to subdirs and normalised names. | Alexander Regueiro | -0/+0 | |
| 2019-03-06 | add test for spurious intra-doc link warning | QuietMisdreavus | -0/+6 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-01-13 | Cosmetic improvements | Alexander Regueiro | -3/+0 | |
| 2019-01-10 | add test for pub extern crate | DebugSteven | -0/+2 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -429/+1 | |
| 2018-11-01 | test that rustdoc doesn't overflow on a big enum | Alex Burka | -0/+210 | |
| 2018-10-05 | Stabilize `min_const_fn` | Oliver Schneider | -2/+0 | |
| 2018-09-09 | rustdoc: Remove generated blanket impls from trait pages | Oliver Middleton | -0/+11 | |
| 2018-08-31 | Restrict most uses of `const_fn` to `min_const_fn` | Oliver Schneider | -1/+1 | |
| 2018-08-06 | Auto merge of #52644 - varkor:lib-feature-gate-2, r=withoutboats | bors | -1/+0 | |
| Add errors for unknown, stable and duplicate feature attributes - Adds an error for unknown (lang and lib) features. - Extends the lint for unnecessary feature attributes for stable features to libs features (this already exists for lang features). - Adds an error for duplicate (lang and lib) features. ```rust #![feature(fake_feature)] //~ ERROR unknown feature `fake_feature` #![feature(i128_type)] //~ WARNING the feature `i128_type` has been stable since 1.26.0 #![feature(non_exhaustive)] #![feature(non_exhaustive)] //~ ERROR duplicate `non_exhaustive` feature attribute ``` Fixes #52053, fixes #53032 and address some of the problems noted in #44232 (though not unused features). There are a few outstanding problems, that I haven't narrowed down yet: - [x] Stability attributes on macros do not seem to be taken into account. - [x] Stability attributes behind `cfg` attributes are not taken into account. - [x] There are failing incremental tests. | ||||
| 2018-08-05 | Fix run-pass-fulldeps tests | varkor | -1/+0 | |
| 2018-08-04 | add tests for new intra-doc-link behavior | QuietMisdreavus | -0/+13 | |
| 2018-05-07 | Auto merge of #50305 - GuillaumeGomez:fix-mod-stackoverflow, r=QuietMisdreavus | bors | -0/+21 | |
| Prevent infinite recursion of modules Fixes #50196. r? @QuietMisdreavus | ||||
| 2018-05-07 | Prevent infinite recursion of modules | Guillaume Gomez | -0/+21 | |
| 2018-04-29 | rustdoc: Fix links to constants in external crates | Oliver Middleton | -0/+32 | |
| 2018-03-27 | rustdoc: Add test for foreign impl trait with bounds | Manish Goregaokar | -0/+37 | |
| 2018-02-21 | add test for issue 48414 ICE | QuietMisdreavus | -0/+15 | |
| 2018-02-07 | rustdoc: Hide `-> ()` in cross crate inlined Fn* bounds | Oliver Middleton | -0/+13 | |
| 2018-01-26 | Merge branch 'rustdoc_masked' of https://github.com/ollie27/rust into rollup | Alex Crichton | -0/+20 | |
| 2018-01-23 | rustdoc: Hide methods from #[doc(masked)] crates from the search index | Oliver Middleton | -0/+20 | |
| 2018-01-23 | rustdoc: Show when traits are auto traits | Oliver Middleton | -0/+13 | |
| 2018-01-13 | Adjust tests for removal of `impl Foo for .. {}` | leonardo.yvens | -8/+2 | |
| 2017-12-24 | Auto merge of #46894 - detrumi:fix-const-eval-trait, r=eddyb | bors | -0/+17 | |
| Const-eval array lengths in rustdoc. Fixes #46727 r? @eddyb Big thanks to @eddyb for helping me figure this out. | ||||
| 2017-12-23 | Testcase for const-eval array lengths | Wilco Kusee | -0/+17 | |
| 2017-12-19 | test for missing_doc in the external_doc test | QuietMisdreavus | -0/+1 | |
| 2017-11-21 | allow loading external files in documentation | QuietMisdreavus | -0/+21 | |
| Partial implementation of https://github.com/rust-lang/rfcs/pull/1990 (needs error reporting work) cc #44732 | ||||
| 2017-11-20 | Make rustdoc not include self-by-value methods from Deref target | Florian Hartwig | -2/+2 | |
| 2017-11-03 | auto trait future compatibility lint | leonardo.yvens | -0/+2 | |
| 2017-07-06 | remove associated_consts feature gate | Sean McArthur | -1/+0 | |
