about summary refs log tree commit diff
path: root/src/test/rustdoc
AgeCommit message (Collapse)AuthorLines
2015-04-22Replace ignore-android with ignore-cross-compile in rustdoc testsRyan Prichard-19/+19
The problem is that rustdoc searches for external crates using the host triple, not the target triple. It's actually unclear to me whether this is correct behavior or not, but it is necessary to get cross-compiled tests working.
2015-04-16rustdoc: Inline methods inhereted through DerefAlex Crichton-0/+83
Whenever a type implements Deref, rustdoc will now add a section to the "methods available" sections for "Methods from Deref<Target=Foo>", listing all the inherent methods of the type `Foo`. Closes #19190
2015-04-10Test fixes and review feedbackAlex Crichton-0/+18
2015-04-07rustdoc: Add a test for should_fail in doctestsAlex Crichton-0/+22
Closes #23744
2015-04-07rustdoc: Index inherent methods on primitivesAlex Crichton-0/+24
The set of types which can have an inherent impl changed slightly and rustdoc just needed to catch up to understand what it means to see a `impl str`! Closes #23511
2015-04-07rustdoc: Handle duplicate reexports listedAlex Crichton-0/+19
This ends up causing duplicate output in rustdoc. The source of these duplicates is that the item is defined in both resolve namespaces, so it's listed twice. Closes #23207
2015-04-07rustdoc: Handle tests with bare `#` marksAlex Crichton-0/+17
Strip them from output like other `# `-starting lines. Closes #23106
2015-04-07rustdoc: Encode ABI in all methodsAlex Crichton-2/+46
This commit ensures that the ABI of functions is propagated all the way through to the documentation. Closes #22038
2015-04-07rustdoc: Simplify predicates with paren notationAlex Crichton-0/+18
This change is aimed at improving cross-crate (inlined) notation of generic closures. The change modifies `simplify::where_predicates` to handle parenthesized notation as well as starting to handle supertrait bounds as well. This was necessary because all output constraints of closures are bound to `FnOnce` but most trait bounds are that of `FnMut`. Close #21801
2015-04-07rustdoc: Detect provided methods on inlined traitsAlex Crichton-2/+20
Closes #23864
2015-04-07rustdoc: Don't duplicate inlined impl blocksAlex Crichton-0/+21
Closes #21474
2015-04-07rustdoc: Add a test for #21092Alex Crichton-0/+17
Close #21092
2015-04-07rustdoc: Improve handling inlined associated typesAlex Crichton-0/+147
* All bounds are now discovered through the trait to be inlined. * The `?Sized` bound now renders correctly for inlined associated types. * All `QPath`s (`<A as B>::C`) instances are rendered as `A::C` where `C` is a hyperlink to the trait `B`. This should improve at least how the docs look at least. * Supertrait bounds are now separated and display as the source lists them. Closes #20727 Closes #21145
2015-04-07rustdoc: Simplify cross-crate where clausesAlex Crichton-0/+35
Add a custom module to rustdoc which simplifies the output of `middle::ty` into a more readable form which tends to be written down anyway! Closes #20646
2015-04-07rustdoc: Show impls for references to typesAlex Crichton-0/+20
It's somewhat common to impl traits for `&T` and `&mut T` so show these on the pages for `T` to ensure they're listed somewhere at least. Closes #20175
2015-04-07rustdoc: Render methods/impls for bare traitsAlex Crichton-0/+30
This renders a "Methods" and "Trait Implementations" section for each item implemented for a bare trait itself. Closes #19055
2015-04-07rustdoc: Allowing specifying attrs for doctestsAlex Crichton-0/+19
This adds support in rustdoc to blanket apply crate attributes to all doc tests for a crate at once. The syntax for doing this is: #![doc(test(attr(...)))] Each meta item in `...` will be applied to each doctest as a crate attribute. cc #18199
2015-04-07rustdoc: Link "Trait Implementations" to sourcesAlex Crichton-0/+20
All methods listed in "Trait Implementations" now hyperlink to the source trait instead of themselves, allowing easy browsing of the documentation of a trait method. Closes #17476
2015-04-07rustdoc: Only hide possibly private modulesAlex Crichton-0/+33
If an empty public module has no documentation, it shouldn't emit a page that's just a redirect loop to itself! Closes #16265
2015-04-07rustdoc: Add a test for fixed issue #16019Alex Crichton-0/+19
Closes #16019
2015-04-07rustdoc: Add a test for fixed issue #15347Alex Crichton-0/+15
Closes #15347
2015-04-07rustdoc: Add a primitive page for raw pointersAlex Crichton-0/+57
Closes #15318
2015-04-07rustdoc: Add a test for #15169Alex Crichton-0/+13
2015-04-07rustdoc: Run external traits through filtersAlex Crichton-0/+25
This ensures that all external traits are run through the same filters that the rest of the AST goes through, stripping hidden function as necessary. Closes #13698
2015-04-07test: Move all run-make rustdoc tests to test/rustdocAlex Crichton-0/+470