Skip to content

Commit cdeb745

Browse files
author
Christian
committed
Updated the description of -Z in the rustc book.
1 parent 7acfa45 commit cdeb745

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/doc/rustc/src/command-line-arguments.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,12 @@ This flag will set which lints should be set to the [deny level](lints/levels.ht
8686

8787
This flag will set which lints should be set to the [forbid level](lints/levels.html#forbid).
8888

89-
## `-Z`: set options for debugging rustc
89+
## `-Z`: set unstable options
9090

91-
This flag lets you set options for debugging rustc. In order to set multiple options, the -Z flag
92-
can be used multiple times. For example: `rustc -Z verbose -Z time`. Specifying options with -Z is
93-
only available on nightly. To view all available options run: `rustc -Z help`.
91+
This flag will allow you to set unstable options of rustc. In order to set multiple options,
92+
the -Z flag can be used multiple times. For example: `rustc -Z verbose -Z time`.
93+
Specifying options with -Z is only available on nightly. To view all available options
94+
run: `rustc -Z help`.
9495

9596
## `--cap-lints`: set the most restrictive lint level
9697

0 commit comments

Comments
 (0)