rust/src/test/rustdoc
bors 1581278534 Auto merge of #66364 - Centril:cleanup-macro-def, r=petrochenkov,eddyb
Cleanup `rmeta::MacroDef`

Avoid using rountrip parsing in the encoder and in `fn load_macro_untracked`.

The main reason I was interested in this was to remove `rustc_parse` as a dependency of `rustc_metadata` but it seems like this had other benefits as well.

Fixes #49511.

r? @eddyb
cc @matthewjasper @estebank @petrochenkov
2020-03-10 17:12:48 +00:00
..
auxiliary rustdoc: Fix re-exporting primitive types 2020-01-26 21:32:43 +00:00
const-generics Code review changes and fix rustdoc test. 2020-01-14 07:47:45 +13:00
duplicate_impls
inline_cross Record proc macro harness order for use during metadata deserialization 2020-02-15 15:48:36 -05:00
inline_local
primitive
src-links
synthetic_auto
test_option_check
all.rs
assoc-consts-version.rs
assoc-consts.rs
assoc-item-cast.rs
assoc-types.rs
async-fn.rs rustdoc: Correct order of async and unsafe in async unsafe fns 2020-01-20 18:14:51 +00:00
async-move-doctest.rs
attributes.rs Update test 2019-04-19 10:20:18 +02:00
auto_aliases.rs Add aliases attribute check 2020-01-20 20:42:52 +01:00
auto-impl-for-trait.rs
auto-impl-primitive.rs
auto-traits.rs
bad-codeblock-syntax.rs rustdoc: Catch fatal errors when syntax highlighting 2020-01-17 23:44:44 +00:00
blanket-reexport-item.rs
cap-lints.rs
cfg-doctest.rs
check-styled-link.rs
codeblock-title.rs
comment-in-doctest.rs Make it build again 2020-02-29 20:47:10 +03:00
const-display.rs
const-doc.rs
const-evalutation-ice.rs
const-fn.rs
const-underscore.rs
const.rs
constructor-imports.rs
crate-version-escape.rs rustdoc: HTML escape crate version 2020-03-01 00:15:44 +00:00
crate-version.rs
cross-crate-links.rs
deep-structures.rs
default-impl.rs
default-trait-method-link.rs
default-trait-method.rs
deprecated-future.rs
deprecated-impls.rs
deprecated.rs
deref-mut-methods.rs
deref-typedef.rs Fix rendering on sidebar and update tests 2020-01-15 21:34:15 +01:00
doc-assoc-item.rs
doc-cfg-target-feature.rs
doc-cfg.rs
doc-proc-macro.rs
doctest-manual-crate-name.rs
double-quote-escape.rs
duplicate-cfg.rs
edition-doctest.rs
edition-flag.rs
empty-mod-private.rs
empty-mod-public.rs
empty-section.rs
escape-deref-methods.rs
extern-default-method.rs
extern-html-root-url.rs
extern-impl-trait.rs
extern-impl.rs
extern-links.rs
extern-method.rs
external-cross.rs
external-doc.rs
ffi.rs
fn-pointer-arg-name.rs
fn-sidebar.rs
force-target-feature.rs
foreigntype-reexport.rs
foreigntype.rs
generic-impl.rs
hidden-impls.rs
hidden-line.rs
hidden-methods.rs
hidden-trait-struct-impls.rs
impl-disambiguation.rs
impl-everywhere.rs
impl-parts-crosscrate.rs
impl-parts.rs
index-page.rs
inline-default-methods.rs
internal.rs
intra-doc-link-enum-struct-field.rs
intra-link-builtin-macros.rs
intra-link-extern-crate.rs
intra-link-in-bodies.rs
intra-link-libstd-re-export.rs
intra-link-prim-methods.rs
intra-link-private.rs
intra-link-self.rs
intra-links-anchors.rs
intra-links-external-traits.rs
intra-links.rs
invalid.crate.name.rs
issue-12834.rs
issue-13698.rs
issue-15169.rs
issue-15318-2.rs
issue-15318-3.rs
issue-15318.rs
issue-15347.rs
issue-16019.rs
issue-16265-1.rs
issue-16265-2.rs
issue-17476.rs
issue-18199.rs
issue-19055.rs
issue-19181.rs
issue-19190-2.rs
issue-19190-3.rs
issue-19190.rs
issue-20175.rs
issue-20646.rs
issue-20727-2.rs
issue-20727-3.rs
issue-20727-4.rs
issue-20727.rs
issue-21092.rs
issue-21474.rs
issue-21801.rs
issue-22025.rs
issue-22038.rs
issue-23106.rs
issue-23207.rs
issue-23511.rs
issue-23744.rs
issue-23812.rs
issue-25001.rs
issue-25944.rs
issue-26606.rs pacify rustdoc by using better url 2020-03-10 07:26:27 +01:00
issue-26995.rs
issue-27104.rs
issue-27362.rs
issue-27759.rs
issue-27862.rs
issue-28478.rs
issue-28927.rs
issue-29449.rs
issue-29503.rs
issue-29584.rs
issue-30109.rs
issue-30252.rs
issue-30366.rs
issue-31808.rs
issue-31899.rs
issue-32374.rs
issue-32395.rs
issue-32556.rs
issue-32890.rs
issue-33069.rs
issue-33178-1.rs
issue-33178.rs
issue-33302.rs
issue-33592.rs
issue-34025.rs
issue-34274.rs
issue-34423.rs
issue-34473.rs
issue-34928.rs
issue-35169-2.rs
issue-35169.rs
issue-35488.rs
issue-36031.rs
issue-38129.rs
issue-38219.rs
issue-40936.rs
issue-41783.rs
issue-42760.rs
issue-42875.rs
issue-43153.rs
issue-43701.rs
issue-43869.rs
issue-43893.rs
issue-45584.rs
issue-46271.rs
issue-46377.rs
issue-46380-2.rs
issue-46727.rs
issue-46766.rs
issue-46767.rs
issue-46976.rs
issue-47038.rs
issue-47197-blank-line-in-doc-block.rs
issue-47639.rs
issue-48377.rs
issue-48414.rs
issue-50159.rs
issue-51236.rs
issue-52873.rs
issue-53689.rs
issue-53812.rs
issue-54478-demo-allocator.rs
issue-54705.rs
issue-55001.rs
issue-55321.rs
issue-55364.rs
issue-56701.rs
issue-56822.rs
issue-57180.rs
issue-60482.rs
issue-60726.rs
issue-66159.rs
issue-67851-both.rs
issue-67851-hidden.rs
issue-67851-neither.rs
issue-67851-private.rs
keyword.rs
line-breaks.rs
link-assoc-const.rs
link-title-escape.rs
macro-in-closure.rs
macros.rs
manual_impl.rs
masked.rs
method-list.rs
mod-stackoverflow.rs
module-impls.rs
must-use.rs
namespaces.rs
negative-impl-sidebar.rs
negative-impl.rs
no-crate-filter.rs
no-run-still-checks-lints.rs
no-stack-overflow-25295.rs
nul-error.rs
playground-arg.rs
playground-empty.rs
playground-none.rs
playground-syntax-error.rs
playground.rs
prim-title.rs
primitive-generic-impl.rs
primitive-link.rs
primitive-reexport.rs rustdoc: Fix re-exporting primitive types 2020-01-26 21:32:43 +00:00
private-type-alias.rs
proc-macro.rs
process-termination.rs
pub-extern-crate.rs
pub-method.rs
pub-restricted.rs
pub-use-extern-macros.rs
recursion1.rs
recursion2.rs
recursion3.rs
redirect-const.rs
redirect-rename.rs
redirect.rs
remove-duplicates.rs
remove-url-from-headings.rs Extend url in heading test a bit 2020-01-17 19:49:03 +01:00
rustc_deprecated-future.rs
rustc-macro-crate.rs
sanitizer-option.rs
search-index-summaries.rs
search-index.rs
short-docblock-codeblock.rs
short-dockblock.rs
show-const-contents.rs Fix broken show-const-contents test 2020-01-23 20:55:06 +01:00
sidebar-items.rs
sidebar-link-generation.rs
sidebar-links-to-foreign-impl.rs
smoke.rs
sort-modules-by-appearance.rs
source-file.rs
src-links-external.rs
src-links.rs
stability.rs
static-root-path.rs
struct-field.rs
structfields.rs
test-lists.rs
test-parens.rs
through-proc-macro.rs
titles.rs
trait_alias.rs
trait-attributes.rs
trait-self-link.rs
traits-in-bodies-private.rs
traits-in-bodies.rs
tuples.rs
typedef.rs
union.rs
unit-return.rs
universal-impl-trait.rs
unneeded-trait-implementations-title.rs
use-attr.rs
useless_lifetime_bound.rs
variadic.rs
viewpath-rename.rs
viewpath-self.rs
where-sized.rs
where.rs
without-redirect.rs
wrapping.rs