Skip to content

Commit

Permalink
Updated the documentation, now claiming the -Z is associated to unsta…
Browse files Browse the repository at this point in the history
…ble compiler flags, instead of flags for debugging.
  • Loading branch information
Christian committed Apr 10, 2019
1 parent 5c7a944 commit 7acfa45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_driver/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ fn usage(verbose: bool, include_unstable_options: bool) {
}
let message = "Usage: rustc [OPTIONS] INPUT";
let nightly_help = if nightly_options::is_nightly_build() {
"\n -Z help Print internal options for debugging rustc"
"\n -Z help Print unstable compiler options"
} else {
""
};
Expand Down Expand Up @@ -891,7 +891,7 @@ Available lint options:
}

fn describe_debug_flags() {
println!("\nAvailable debug options:\n");
println!("\nAvailable options:\n");
print_flag_list("-Z", config::DB_OPTIONS);
}

Expand Down

0 comments on commit 7acfa45

Please sign in to comment.