rust/src/test/rustdoc
kennytm def5f84fa6
Rollup merge of #54577 - QuietMisdreavus:docs-for-procs, r=GuillaumeGomez
rustdoc: give proc-macros their own pages

related to https://github.com/rust-lang/rust/issues/49553 but i don't think it'll fix it

Currently, rustdoc doesn't expose proc-macros all that well. In the source crate, only their definition function is exposed, but when re-exported, they're treated as a macro! This is an awkward situation in all accounts. This PR checks functions to see whether they have any of `#[proc_macro]`, `#[proc_macro_attribute]`, or `#[proc_macro_derive]`, and exposes them as macros instead. In addition, attributes and derives are exposed differently than other macros, getting their own item-type, CSS class, and module heading.

![image](https://user-images.githubusercontent.com/5217170/46044803-6df8da00-c0e1-11e8-8c3b-25d2c3beb55c.png)

Function-like proc-macros are lumped in with `macro_rules!` macros, but they get a different declaration block (i'm open to tweaking this, it's just what i thought of given how function-proc-macros operate):

![image](https://user-images.githubusercontent.com/5217170/46044828-84069a80-c0e1-11e8-9cc4-127e5477c395.png)

Proc-macro attributes and derives get their own pages, with a representative declaration block. Derive macros also show off their helper attributes:

![image](https://user-images.githubusercontent.com/5217170/46094583-ef9f4500-c17f-11e8-8f71-fa0a7895c9f6.png)

![image](https://user-images.githubusercontent.com/5217170/46101529-cab3cd80-c191-11e8-857a-946897750da1.png)

There's one wrinkle which this PR doesn't address, which is why i didn't mark this as fixing the linked issue. Currently, proc-macros don't expose their attributes or source span across crates, so while rustdoc knows they exist, that's about all the information it gets. This leads to an "inlined" macro that has absolutely no docs on it, and no `[src]` link to show you where it was declared.

The way i got around it was to keep proc-macro re-export disabled, since we do get enough information across crates to properly link to the source page:

![image](https://user-images.githubusercontent.com/5217170/46045074-2cb4fa00-c0e2-11e8-81bc-33a8205fbd03.png)

Until we can get a proc-macro's docs (and ideally also its source span) across crates, i believe this is the best way forward.
2018-09-29 16:46:30 +08:00
..
auxiliary rustdoc: Remove generated blanket impls from trait pages 2018-09-09 18:27:05 +01:00
duplicate_impls Generate documentation for auto-trait impls 2018-02-18 16:29:24 -05:00
inline_cross add test for proc-macro re-export 2018-09-25 16:30:19 -05:00
inline_local add more tests for traits-in-non-module-scope 2018-09-20 05:42:35 -05:00
primitive Fix primitive blanket impls not showing up 2018-08-04 11:02:00 +02:00
src-links Add compiletest-ignore-dir to existing subdirectories. 2016-02-24 18:40:39 -05:00
synthetic_auto Fix rustdoc crash when 'static bound appears in struct declaration 2018-08-02 09:58:44 -04:00
test_option_check Add more test for rustdoc --test 2017-02-08 10:10:06 +01:00
all.rs rustdoc: Don't include private paths in all.html 2018-04-13 14:58:43 +01:00
assoc-consts.rs Update tests 2018-08-25 15:30:47 +02:00
assoc-item-cast.rs Fix invalid associated type rendering in rustdoc 2017-04-12 18:14:54 +02:00
assoc-types.rs rustdoc: Link directly to associated types 2017-06-11 18:20:48 +01:00
async-fn.rs syntax: also warn about edition "umbrella" features being implied by --edition. 2018-08-16 10:35:45 +03:00
attributes.rs rustdoc: Show attributes on all item types 2017-02-08 21:15:20 +00:00
auto-impl-for-trait.rs Fix auto trait impl rustdoc ice 2018-02-24 01:23:54 +01:00
auto-impl-primitive.rs add auto-impl for primitive type 2018-05-15 21:37:12 +02:00
auto-traits.rs rustdoc: Show when traits are auto traits 2018-01-23 01:04:24 +00:00
blanket-reexport-item.rs Generate blanket implementations for reexported items as well 2018-08-16 15:14:11 +02:00
cap-lints.rs Fix rustdoc test failure 2018-06-13 21:18:56 +02:00
check-styled-link.rs Fix automatic urls with backticks 2018-03-19 23:25:55 +01:00
codeblock-title.rs update codeblock-title test with new notice text 2017-11-13 11:44:19 -06:00
const-doc.rs Update tests 2018-08-25 15:30:47 +02:00
const-evalutation-ice.rs Fix rustdoc test 2018-08-05 15:54:49 +01:00
const-fn.rs Restrict most uses of const_fn to min_const_fn 2018-08-31 08:40:00 +02:00
const.rs Restrict most uses of const_fn to min_const_fn 2018-08-31 08:40:00 +02:00
constructor-imports.rs rustdoc: Hide struct and enum variant constructor imports 2018-07-10 00:16:18 +01:00
crate-version.rs let rustdoc print the crate version into docs 2017-10-09 09:56:17 -05:00
cross-crate-links.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
default-impl.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
default-trait-method-link.rs Fix url for intra link provided method 2018-04-02 18:52:04 +02:00
deprecated-future.rs Shorten deprecation note 2018-03-31 21:44:12 +01:00
deprecated-impls.rs rustdoc: Add stability notices to impl items 2016-06-15 23:56:24 +01:00
deprecated.rs Support #[deprecated] in rustdoc 2015-12-12 23:01:27 +03:00
doc-assoc-item.rs Add whitespace around "=" in assoc items 2017-03-21 16:22:15 -04:00
doc-cfg-target-feature.rs add test for using target features in doctests 2018-04-12 15:51:11 -05:00
doc-cfg.rs Fix hover on impls 2018-09-06 23:32:30 +02:00
doc-proc-macro.rs ignore rustdoc/doc-proc-macro on stage1 2018-09-20 05:42:22 -05:00
doc-spotlight.rs Add tooltip for important traits display 2017-11-18 14:37:10 +01:00
double-quote-escape.rs Fix invalid HTML escape 2017-11-29 19:33:04 +01:00
edition-doctest.rs Add test for doctest edition support 2018-09-20 08:36:07 +02:00
edition-flag.rs Pass edition flags to compiler from rustdoc as expected 2018-07-14 20:45:44 +02:00
empty-mod-private.rs modify tests to use new flag 2017-10-17 15:38:52 -04:00
empty-mod-public.rs rustdoc: Stop stripping empty modules 2017-06-11 18:26:01 +01:00
empty-section.rs Remove auto trait implementation section when empty 2018-03-09 22:18:08 +01:00
escape-deref-methods.rs Escape more items in the sidebar when needed 2017-12-21 13:17:15 +01:00
escape-rust-expr.rs Remove static and const initialization from documentation 2018-08-26 12:08:30 +02:00
extern-default-method.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
extern-html-root-url.rs add test for --extern-html-root-url 2018-06-12 16:38:30 -05:00
extern-impl-trait.rs rustdoc: Add test for foreign impl trait with bounds 2018-03-27 23:57:03 +02:00
extern-impl.rs rustdoc: Display extern "C" fn instead of extern fn 2017-05-15 00:52:17 +01:00
extern-links.rs rustdoc: Fix methods in seach results 2016-07-12 12:58:06 +01:00
extern-method.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
external-cross.rs allow loading external files in documentation 2017-11-21 15:46:49 -06:00
external-doc.rs allow loading external files in documentation 2017-11-21 15:46:49 -06:00
ffi.rs rustdoc: Display extern "C" fn instead of extern fn 2017-05-15 00:52:17 +01:00
fn-pointer-arg-name.rs Fix invalid rustdoc rendering for FnTy args 2017-10-07 17:23:06 +02:00
fn-sidebar.rs Add missing items in the sidebar for functions 2018-03-09 17:45:44 +01:00
force-target-feature.rs add -C parameter to rustdoc 2018-04-13 16:07:12 -05:00
foreigntype-reexport.rs Properly handle reexport of foreign items. 2017-11-21 02:51:05 +08:00
foreigntype.rs Support extern type in rustdoc. 2017-11-15 18:20:28 +08:00
generic-impl.rs Strengthen tests 2018-08-04 11:02:00 +02:00
hidden-impls.rs rustdoc: Fix a few stripping issues 2016-06-27 23:26:29 +01:00
hidden-line.rs Miscellaneous cleanup for old issues. 2015-09-20 11:37:08 +01:00
hidden-methods.rs rustdoc: Fix a few stripping issues 2016-06-27 23:26:29 +01:00
hidden-trait-struct-impls.rs Add tests for hidden types 2017-12-18 23:07:19 +01:00
impl-disambiguation.rs rustdoc: Improve impl disambiguation 2017-02-06 18:11:01 +00:00
impl-everywhere.rs Fix missing impl trait display as ret type 2018-08-21 22:40:55 +02:00
impl-parts-crosscrate.rs fix more typos found by codespell. 2018-02-17 17:38:49 +01:00
impl-parts.rs Adjust tests for removal of impl Foo for .. {} 2018-01-13 18:48:00 +03:00
inline-default-methods.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
intra-link-extern-crate.rs add tests for new intra-doc-link behavior 2018-08-04 22:20:45 -05:00
intra-link-in-bodies.rs fix intra-links for trait impls 2018-09-20 05:54:31 -05:00
intra-link-private.rs add tests for new intra-doc-link behavior 2018-08-04 22:20:45 -05:00
intra-link-self.rs Add "self" intra-link support 2018-07-22 00:22:30 +02:00
intra-links.rs Replace usages of 'bad_style' with 'nonstandard_style'. 2018-08-29 09:01:35 -05:00
invalid.crate.name.rs Fix crate-name option in rustdoc 2018-06-04 23:05:14 +02:00
issue-12834.rs Update unstable-crate test 2017-08-30 09:40:43 +02:00
issue-13698.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-15169.rs rustdoc: Add a test for #15169 2015-04-07 17:54:33 -07:00
issue-15318-2.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-15318-3.rs rustdoc: Add a primitive page for raw pointers 2015-04-07 17:54:33 -07:00
issue-15318.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
issue-15347.rs modify tests to use new flag 2017-10-17 15:38:52 -04:00
issue-16019.rs rustdoc: Add a test for fixed issue #16019 2015-04-07 17:54:34 -07:00
issue-16265-1.rs rustdoc: Only hide possibly private modules 2015-04-07 17:54:34 -07:00
issue-16265-2.rs rustdoc: Only hide possibly private modules 2015-04-07 17:54:34 -07:00
issue-17476.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-18199.rs Remove all uses of #[staged_api] 2015-11-25 21:55:26 +03:00
issue-19055.rs rustdoc: Render methods/impls for bare traits 2015-04-07 17:54:34 -07:00
issue-19181.rs Add tests for issues with the E-needstest label 2017-07-25 12:23:16 +09:00
issue-19190-2.rs Make rustdoc not include self-by-value methods from Deref target 2017-11-20 00:15:26 +01:00
issue-19190-3.rs Make rustdoc not include self-by-value methods from Deref target 2017-11-20 00:15:26 +01:00
issue-19190.rs Review changes 2016-08-17 16:12:37 +12:00
issue-20175.rs rustdoc: Show impls for references to types 2015-04-07 17:54:34 -07:00
issue-20646.rs Add whitespace around "=" in assoc items 2017-03-21 16:22:15 -04:00
issue-20727-2.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727-3.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-20727-4.rs rustdoc: where clause adjustment to fix tests 2017-04-06 14:19:45 -05:00
issue-20727.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-21092.rs Review changes 2016-08-17 16:12:37 +12:00
issue-21474.rs Generate documentation for auto-trait impls 2018-02-18 16:29:24 -05:00
issue-21801.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-22025.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-22038.rs rustdoc: Display extern "C" fn instead of extern fn 2017-05-15 00:52:17 +01:00
issue-23106.rs rustdoc: Handle tests with bare # marks 2015-04-07 17:54:34 -07:00
issue-23207.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-23511.rs Replace StrExt with inherent str methods in libcore 2018-04-21 09:47:37 +02:00
issue-23744.rs rustdoc: Add a test for should_fail in doctests 2015-04-07 17:54:35 -07:00
issue-23812.rs Fix doc comment parsing in macros. 2015-07-18 11:34:59 +01:00
issue-25001.rs Review changes 2016-08-17 16:12:37 +12:00
issue-25944.rs rustdoc: remove artificial indentation of doctest code 2016-05-09 22:46:40 +02:00
issue-26606.rs rustdoc: remove the ! from macro URLs and titles 2016-08-18 15:40:56 +12:00
issue-26995.rs Fix source-links for files with absolute-paths 2016-02-24 19:43:02 +01:00
issue-27104.rs Split out rustdoc pass to strip private imports 2016-03-06 08:18:58 +01:00
issue-27362.rs Ignore a rustdoc test that does not work on beta 2016-03-03 00:40:34 +00:00
issue-27759.rs Fix nightly-only experimental API display 2017-02-25 17:48:09 +01:00
issue-27862.rs Update hoedown to latest version (3.0.4). 2015-08-24 19:21:08 +01:00
issue-28478.rs Update tests 2018-08-25 15:30:47 +02:00
issue-28927.rs Store a valid name for the root module in metadata 2015-11-13 09:05:38 +01:00
issue-29449.rs Fix tests 2017-09-01 20:07:04 +12:00
issue-29503.rs Fix hover on impls 2018-09-06 23:32:30 +02:00
issue-29584.rs Don't inline impls from doc(hidden) modules 2016-02-26 15:56:46 +01:00
issue-30109.rs Use the extern item-path for documentation links 2015-12-03 23:11:19 +01:00
issue-30252.rs Use --cfg when running doctests 2015-12-15 18:03:55 +09:00
issue-30366.rs Shorten docstrings after Markdown rendering 2016-02-12 14:12:27 +01:00
issue-31808.rs remove associated_consts feature gate 2017-07-06 11:52:25 -07:00
issue-31899.rs Clearly separate code blocks from other blocks 2016-02-27 06:42:21 +01:00
issue-32374.rs Fix nightly-only experimental API display 2017-02-25 17:48:09 +01:00
issue-32395.rs Load struct-variant data correctly from metadata 2016-03-27 00:21:00 +01:00
issue-32556.rs Add ignore reason 2018-03-31 16:23:50 -04:00
issue-32890.rs rustdoc: Disambiguate anchors for assoc item impls 2016-04-17 21:41:55 -04:00
issue-33069.rs Fix the strip-hidden ImplStripper 2016-04-18 17:32:00 +02:00
issue-33178-1.rs Linkify extern crates on rustdoc pages 2016-04-25 11:26:33 +02:00
issue-33178.rs Linkify extern crates on rustdoc pages 2016-04-25 11:26:33 +02:00
issue-33302.rs Remove static and const initialization from documentation 2018-08-26 12:08:30 +02:00
issue-33592.rs rustdoc: Fix missing type parameters on impls 2016-05-12 20:08:33 +01:00
issue-34025.rs rustdoc: Don't generate empty files for stripped items 2016-06-02 17:49:53 +01:00
issue-34274.rs rustdoc: link to cross-crate sources directly. 2016-11-30 04:48:56 +02:00
issue-34423.rs rustdoc: Fix panic caused by doc(hidden) trait methods 2016-06-23 23:25:03 +01:00
issue-34473.rs rustdoc: Fix inlined renamed reexports in import lists 2016-06-26 03:08:10 +01:00
issue-34928.rs rustdoc: Fix tuple struct where clause rendering 2016-07-25 18:53:31 +01:00
issue-35169-2.rs rustdoc: Hide self: Box<Self> in list of deref methods 2017-06-02 22:37:11 +01:00
issue-35169.rs rustdoc: Hide self: Box<Self> in list of deref methods 2017-06-02 22:37:11 +01:00
issue-35488.rs rustdoc: Fix missing enum variant reexports 2017-06-12 22:42:20 +01:00
issue-36031.rs rustdoc: Fix associated consts in search results 2016-08-29 18:36:57 +01:00
issue-38129.rs rustdoc: fix doctests with non-feature crate attrs 2016-12-09 17:18:42 +00:00
issue-38219.rs Fix doc-tests on exported macro_rules!. 2016-12-08 11:07:39 +00:00
issue-40936.rs Fix rustdoc infinitely recursing when an external crate reexports itself 2017-04-09 12:12:05 -04:00
issue-41783.rs Update test issue-41783.rs for new attribute highlighting behaviour 2017-08-28 10:52:49 -04:00
issue-42760.rs allow loading external files in documentation 2017-11-21 15:46:49 -06:00
issue-42875.rs rustdoc: Don't ICE on use *; 2017-06-24 18:16:39 +01:00
issue-43153.rs doc tests: use the filename from the source file for doc test programs, rather than a dummy name 2017-08-10 17:59:20 +12:00
issue-43701.rs rustdoc: Don't add external impls to implementors js 2017-08-08 15:01:37 +01:00
issue-43869.rs Stabilize conservative_impl_trait 2018-03-26 10:43:03 +02:00
issue-43893.rs rustdoc: Add missing src links for generic impls on trait pages 2017-12-27 23:39:25 +00:00
issue-45584.rs Generate documentation for auto-trait impls 2018-02-18 16:29:24 -05:00
issue-46271.rs rustc: Filter out bogus extern crate warnings 2017-11-30 08:03:04 -08:00
issue-46377.rs Fix rustoc item summaries that are headers 2017-11-30 00:28:59 +01:00
issue-46380-2.rs Fix htmldocck naming 2017-11-30 21:43:21 +01:00
issue-46380.rs Show hidden items with rustdoc's document-private 2017-11-30 21:18:00 +01:00
issue-46727.rs Testcase for const-eval array lengths 2017-12-23 11:16:03 +01:00
issue-46766.rs rustdoc: Don't try to generate links for modules in import paths 2017-12-28 17:51:31 +00:00
issue-46767.rs rustdoc: Don't try to generate links for modules in import paths 2017-12-28 17:51:31 +00:00
issue-46976.rs Stabilize universal_impl_trait 2018-03-26 07:39:38 +02:00
issue-47038.rs rustdoc: Don't import macros from private imports 2018-01-08 03:39:25 +00:00
issue-47197-blank-line-in-doc-block.rs wherein careful doc-decoration arithmetic proves quite the ICE-breaker 2018-01-06 11:17:29 -08:00
issue-47639.rs Add regression test 2018-02-02 13:36:26 +05:30
issue-48377.rs Fix rustdoc test ICE 2018-02-20 20:30:29 +01:00
issue-48414.rs add test for issue 48414 ICE 2018-02-21 19:58:20 -06:00
issue-51236.rs Filter out duplicated trait predicates when generating auto traits 2018-08-02 13:59:16 -04:00
issue-52873.rs add regression test 2018-09-25 13:54:51 -04:00
issue-53689.rs rustdoc: Remove generated blanket impls from trait pages 2018-09-09 18:27:05 +01:00
issue-53812.rs Check the remaining nodes 2018-09-16 00:39:12 -07:00
keyword.rs Remove namespace for keywords 2018-09-10 11:27:21 +02:00
line-breaks.rs rustdoc: add line breaks to where clauses a la rustfmt 2016-10-13 10:17:25 -05:00
link-assoc-const.rs Fix impl assoc constant link not working 2018-03-24 16:38:16 +01:00
link-title-escape.rs Remove hoedown from rustdoc 2018-02-16 23:17:15 +01:00
macros.rs Redirect 2016-08-19 08:20:06 +12:00
manual_impl.rs Add new tests and fix old ones 2018-07-22 21:02:44 +02:00
masked.rs rustdoc: Hide methods from #[doc(masked)] crates from the search index 2018-01-23 04:22:20 +00:00
method-list.rs Add tests for methods listing in rust docs 2017-11-03 18:39:00 +01:00
mod-stackoverflow.rs Prevent infinite recursion of modules 2018-05-07 12:44:03 +02:00
module-impls.rs rustdoc: Fix empty Implementations section on some module pages 2016-06-28 22:53:50 +01:00
must-use.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
namespaces.rs add test for issue 34843 2018-06-14 17:47:35 -05:00
negative-impl-sidebar.rs Display negative traits implementation 2017-11-20 21:53:19 +01:00
negative-impl.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
no-run-still-checks-lints.rs rustdoc: Fix testing no_run code blocks 2016-04-11 09:26:59 -07:00
nul-error.rs Remove \0 printing 2017-08-07 22:25:15 +02:00
playground-arg.rs add #![allow(unused)] to the playground link rustdoc tests 2017-11-05 10:24:05 -06:00
playground-empty.rs rustdoc: Improve playground run buttons 2016-10-15 18:32:03 +01:00
playground-none.rs rustdoc: Improve playground run buttons 2016-10-15 18:32:03 +01:00
playground.rs fix playground test for newly-trimmed doctests 2018-02-09 13:48:59 -06:00
prim-title.rs rustdoc: Remove paths from primitive page <title> tags 2016-06-30 23:22:16 +01:00
primitive-generic-impl.rs add more tests for traits-in-non-module-scope 2018-09-20 05:42:35 -05:00
primitive-link.rs Add primitive intra-links 2018-03-29 13:43:55 +02:00
private-type-alias.rs Add test for recursive private alias substitution in rustdoc 2016-08-11 00:41:58 +03:00
proc-macro.rs check for proc-macros in "all items" 2018-09-27 10:22:29 -05:00
pub-method.rs modify tests to use new flag 2017-10-17 15:38:52 -04:00
pub-restricted.rs rustdoc: Add support for pub(restricted) 2018-05-12 18:25:09 +01:00
pub-use-extern-macros.rs Stabilize use_extern_macros 2018-08-17 13:14:26 +03:00
recursion1.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
recursion2.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
recursion3.rs Remove feature(globs) since they are stable 2016-03-10 03:29:55 +01:00
redirect-const.rs rustdoc: Fix generating redirect pages for statics and consts 2016-06-03 22:59:45 +01:00
redirect-rename.rs rustdoc: Fix redirect pages for renamed reexports 2016-06-14 15:24:06 +01:00
redirect.rs Make the rendering process less pass-aware 2016-04-02 12:00:55 +02:00
remove-duplicates.rs Add duplicate test 2017-08-24 11:38:58 +02:00
rustc-macro-crate.rs Rustdoc itself no longer requires proc macros to build 2018-06-02 09:32:22 -06:00
search-index-summaries.rs rustdoc: Fix short summaries in search results 2016-12-12 18:39:36 +00:00
search-index.rs rustdoc: Skip types in impls in search index 2015-05-21 14:17:37 +02:00
short-dockblock.rs Prevent some markdown transformation on short docblocks 2018-06-28 01:55:43 +02:00
sidebar-items.rs Add new tests and fix old ones 2018-07-22 21:02:44 +02:00
smoke.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07:00
sort-modules-by-appearance.rs Add a test for --sort-modules-by-appearance 2017-12-19 01:05:06 +00:00
src-links-external.rs rustdoc: link to cross-crate sources directly. 2016-11-30 04:48:56 +02:00
src-links.rs Review changes 2016-08-17 16:12:37 +12:00
struct-field.rs Add support for variant and types fields for intra links 2018-03-30 16:22:57 +02:00
structfields.rs rustdoc: Don't add extra newlines for fully opaque structs 2016-09-09 01:41:42 +01:00
test-lists.rs rustdoc: Use pulldown-cmark for Markdown HTML rendering 2017-04-06 13:09:20 +01:00
test-parens.rs Fix signature by adding parens when needed 2017-05-30 23:04:03 +02:00
titles.rs rustdoc: Add missing item types to page titles 2016-08-27 17:00:36 +01:00
trait-attributes.rs Add attributes for trait and methods as well 2018-06-02 23:26:46 +02:00
trait-self-link.rs Add a test 2016-04-06 01:24:49 +09:00
traits-in-bodies-private.rs don't index trait impls if the trait isn't also documented 2018-09-20 05:42:36 -05:00
traits-in-bodies.rs add more tests for traits-in-non-module-scope 2018-09-20 05:42:35 -05:00
tuples.rs rustdoc: Add test for tuple rendering 2016-01-28 23:41:53 +00:00
typedef.rs Document direct implementations on type aliases. 2017-06-09 10:57:08 +09:00
union.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03:00
unit-return.rs rustdoc: Hide -> () in cross crate inlined Fn* bounds 2018-02-07 13:14:37 +00:00
universal-impl-trait.rs Fix rustdoc panic with impl Trait in type parameters 2018-05-16 11:03:02 +09:00
unneeded-trait-implementations-title.rs Remove unneeded trait implementations titles 2018-03-29 14:33:16 +02:00
variadic.rs rustdoc: Display extern "C" fn instead of extern fn 2017-05-15 00:52:17 +01:00
viewpath-rename.rs rustc: desugar use a::{b,c}; into use a::b; use a::c; in HIR. 2016-11-28 04:18:10 +02:00
viewpath-self.rs rustc: desugar use a::{b,c}; into use a::b; use a::c; in HIR. 2016-11-28 04:18:10 +02:00
where-sized.rs Fix ?Sized where bound not being displayed at the correct place 2017-12-18 10:44:26 +01:00
where.rs rustdoc: where clause adjustment to fix tests 2017-04-06 14:19:45 -05:00