about summary refs log tree commit diff
path: root/src/test/rustdoc/decl_macro.rs
AgeCommit message (Collapse)AuthorLines
2021-07-03rustc_ast_pretty: Don't print space after `$`Noah Lev-6/+6
For example, this code: $arg:expr used to be pretty-printed as: $ arg : expr but is now pretty-printed as: $arg : expr
2021-07-03Pretty-print macro matchers instead of using source codeNoah Lev-6/+6
The output is not quite as nice as it used to be, but it does work.
2021-04-10rustdoc: clean up and test macro visibility printMichael Howell-0/+17
This fixes the overly-complex invariant mentioned in <https://github.com/rust-lang/rust/pull/83237#issuecomment-815346570>, where the macro source can't have any links in it only because the cache hasn't been populated yet.
2020-11-28Add test for macro by example syntax in decl macros with only one optionRune Tynan-0/+7
2020-11-28Add support for multi-argument decl macrosRune Tynan-0/+17
2020-11-27Update decl_macro test, add decl_macro_priv test for --document-private-itemsRune Tynan-0/+15