Skip to content

Commit 7acfa45

Browse files
author
Christian
committed
Updated the documentation, now claiming the -Z is associated to unstable compiler flags, instead of flags for debugging.
1 parent 5c7a944 commit 7acfa45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_driver/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ fn usage(verbose: bool, include_unstable_options: bool) {
743743
}
744744
let message = "Usage: rustc [OPTIONS] INPUT";
745745
let nightly_help = if nightly_options::is_nightly_build() {
746-
"\n -Z help Print internal options for debugging rustc"
746+
"\n -Z help Print unstable compiler options"
747747
} else {
748748
""
749749
};
@@ -891,7 +891,7 @@ Available lint options:
891891
}
892892

893893
fn describe_debug_flags() {
894-
println!("\nAvailable debug options:\n");
894+
println!("\nAvailable options:\n");
895895
print_flag_list("-Z", config::DB_OPTIONS);
896896
}
897897

0 commit comments

Comments
 (0)