Skip to content

Commit bbe6e94

Browse files
committed
Auto merge of #8792 - jyn514:remove-ast-json, r=flip1995
Suggest -Zunpretty=ast-tree instead of -Zast-json -Zast-json is being removed shortly: rust-lang/rust#85993. ast-tree does essentially the same thing, and still works today even before that PR lands. changelog: none
2 parents 5dad517 + 677b38c commit bbe6e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ and resolved paths.
6767

6868
[`T-AST`] issues will generally need you to match against a predefined syntax structure.
6969
To figure out how this syntax structure is encoded in the AST, it is recommended to run
70-
`rustc -Z ast-json` on an example of the structure and compare with the [nodes in the AST docs].
70+
`rustc -Z unpretty=ast-tree` on an example of the structure and compare with the [nodes in the AST docs].
7171
Usually the lint will end up to be a nested series of matches and ifs, [like so][deep-nesting].
7272
But we can make it nest-less by using [if_chain] macro, [like this][nest-less].
7373

0 commit comments

Comments
 (0)