rust/src/test/rustdoc
Oliver Middleton 86ea93e83c rustdoc: Cleanup associated const value rendering
Rather than (ab)using Debug for outputting the type in plain text use the
alternate format parameter which already does exactly that. This fixes
type parameters for example which would output raw HTML.

Also cleans up adding parens around references to trait objects.
2017-05-31 20:05:28 +01:00
..
auxiliary Fix rustdoc infinitely recursing when an external crate reexports itself 2017-04-09 12:12:05 -04:00
duplicate_impls Only record the same impl once 2016-04-22 19:10:30 +02:00
inline_cross rustdoc: Fix names of items in cross crate reexported modules 2017-05-22 02:05:16 +01:00
inline_local rustdoc: Fix some local inlining issues 2016-11-14 18:24:47 +00:00
src-links Add compiletest-ignore-dir to existing subdirectories. 2016-02-24 18:40:39 -05:00
test_option_check Add more test for rustdoc --test 2017-02-08 10:10:06 +01:00
assoc-consts.rs rustdoc: Cleanup associated const value rendering 2017-05-31 20:05:28 +01:00
assoc-item-cast.rs Fix invalid associated type rendering in rustdoc 2017-04-12 18:14:54 +02:00
assoc-types.rs Review changes 2016-08-17 16:12:37 +12:00
attributes.rs rustdoc: Show attributes on all item types 2017-02-08 21:15:20 +00:00
cap-lints.rs librustdoc: ignore lint warnings when compiling documentation 2015-11-02 23:44:53 +00:00
const-doc.rs Fix invalid debug display for associated consts 2017-03-17 00:27:36 +01:00
const.rs Fix const not displayed in rustdoc 2017-03-16 02:15:10 +01:00
default-impl.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07: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
escape-rust-expr.rs rustdoc: HTML-escape Rust code (from constants) 2016-05-03 13:31:29 +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-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
ffi.rs rustdoc: Display extern "C" fn instead of extern fn 2017-05-15 00:52:17 +01: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
impl-disambiguation.rs rustdoc: Improve impl disambiguation 2017-02-06 18:11:01 +00:00
impl-parts-crosscrate.rs Add test of cross-crate impl formatting 2015-07-20 20:09:36 -04:00
impl-parts.rs rustdoc: where clause adjustment to fix tests 2017-04-06 14:19:45 -05:00
inline-default-methods.rs Replace ignore-android with ignore-cross-compile in rustdoc tests 2015-04-22 20:32:14 -07:00
issue-12834.rs Make some fatal lexer errors recoverable 2016-04-27 20:48:18 +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 Split out rustdoc pass to strip private imports 2016-03-06 08:18:58 +01: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-19190-2.rs Rustdoc: ignore deref-inherited static methods 2015-05-25 15:35:10 +02:00
issue-19190-3.rs Rustdoc: ignore deref-inherited static methods 2015-05-25 15:35:10 +02: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 rustdoc: Don't duplicate inlined impl blocks 2015-04-07 17:54:34 -07: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 std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08: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 accordingly 2017-02-28 00:27:29 +01: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 Add tests 2015-12-05 23:11:07 +01:00
issue-29503.rs rustdoc: do not strip blanket impls in crate of origin 2016-05-09 16:50:47 +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 Don't show associated consts from trait impls 2016-02-23 21:47:13 +01: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-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 Update tests accordingly 2017-02-28 00:27:29 +01: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: Filter more incorrect methods inherited through Deref 2016-09-05 20:24:55 +02:00
issue-35169.rs rustdoc: Filter more incorrect methods inherited through Deref 2016-09-05 20:24:55 +02: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 Allow # to appear in rustdoc code output. 2017-05-06 18:07:04 -06:00
line-breaks.rs rustdoc: add line breaks to where clauses a la rustfmt 2016-10-13 10:17:25 -05:00
macros.rs Redirect 2016-08-19 08:20:06 +12:00
manual_impl.rs Update tests 2016-05-20 17:44:31 +05:30
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
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
playground-arg.rs unstable --playground-url, add test code 2016-11-30 10:33:22 +08: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 rustdoc: Improve playground run buttons 2016-10-15 18:32:03 +01:00
prim-title.rs rustdoc: Remove paths from primitive page <title> tags 2016-06-30 23:22:16 +01:00
private-type-alias.rs Add test for recursive private alias substitution in rustdoc 2016-08-11 00:41:58 +03:00
pub-use-extern-macros.rs Rustdoc: test proper representation for pub use macros 2017-03-28 12:39:47 -07: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
rustc-macro-crate.rs rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08: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
smoke.rs test: Move all run-make rustdoc tests to test/rustdoc 2015-04-07 17:54:33 -07: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
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-self-link.rs Add a test 2016-04-06 01:24:49 +09:00
tuples.rs rustdoc: Add test for tuple rendering 2016-01-28 23:41:53 +00:00
union.rs Stabilize unions with Copy fields and no destructor 2017-05-27 00:52:20 +03: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.rs rustdoc: where clause adjustment to fix tests 2017-04-06 14:19:45 -05:00