Noah Lev
|
7ffec7028a
|
rustc_ast_pretty: Don't print space after $
For example, this code:
$arg:expr
used to be pretty-printed as:
$ arg : expr
but is now pretty-printed as:
$arg : expr
|
2021-07-03 16:35:18 -07:00 |
|
Noah Lev
|
f82d4845f2
|
Pretty-print macro matchers instead of using source code
The output is not quite as nice as it used to be, but it does work.
|
2021-07-03 15:36:32 -07:00 |
|
Michael Howell
|
2dfd0bfe10
|
rustdoc: clean up and test macro visibility print
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.
|
2021-04-10 14:22:06 -07:00 |
|
Rune Tynan
|
d23b57c1a8
|
Add test for macro by example syntax in decl macros with only one option
|
2020-11-28 21:32:07 -05:00 |
|
Rune Tynan
|
ff690931b7
|
Add support for multi-argument decl macros
|
2020-11-28 20:51:48 -05:00 |
|
Rune Tynan
|
949b72e9d9
|
Update decl_macro test, add decl_macro_priv test for --document-private-items
|
2020-11-27 21:59:21 -05:00 |
|