Skip to content

Commit

Permalink
Updated the description of -Z in the rustc book.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Apr 10, 2019
1 parent 7acfa45 commit cdeb745
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/doc/rustc/src/command-line-arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ This flag will set which lints should be set to the [deny level](lints/levels.ht

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

## `-Z`: set options for debugging rustc
## `-Z`: set unstable options

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

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

Expand Down

0 comments on commit cdeb745

Please sign in to comment.