diff options
| author | Christian <chris_veenman@hotmail.com> | 2019-04-10 12:20:47 +0200 |
|---|---|---|
| committer | Christian <chris_veenman@hotmail.com> | 2019-04-10 12:20:47 +0200 |
| commit | cdeb7455eaa66a531f56c1366b96b9f4db25384d (patch) | |
| tree | 9d665a5b90d0b681a81595b10d4aa9a93348292f | |
| parent | 7acfa453df8f3c4b458614ff86d857ad53a7994d (diff) | |
| download | rust-cdeb7455eaa66a531f56c1366b96b9f4db25384d.tar.gz rust-cdeb7455eaa66a531f56c1366b96b9f4db25384d.zip | |
Updated the description of -Z in the rustc book.
| -rw-r--r-- | src/doc/rustc/src/command-line-arguments.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/doc/rustc/src/command-line-arguments.md b/src/doc/rustc/src/command-line-arguments.md index 18d7052c2c5..dfb40284ef6 100644 --- a/src/doc/rustc/src/command-line-arguments.md +++ b/src/doc/rustc/src/command-line-arguments.md @@ -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 |
