about summary refs log tree commit diff
path: root/src/libtest/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtest/cli.rs')
-rw-r--r--src/libtest/cli.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtest/cli.rs b/src/libtest/cli.rs
index a800bd17c50..aac454c023c 100644
--- a/src/libtest/cli.rs
+++ b/src/libtest/cli.rs
@@ -213,7 +213,7 @@ macro_rules! unstable_optflag {
         let opt = $matches.opt_present($option_name);
         if !$allow_unstable && opt {
             return Err(format!(
-                "The \"{}\" flag is only accepted on the nightly compiler",
+                "The \"{}\" flag is only accepted on the nightly compiler with -Z unstable-options",
                 $option_name
             ));
         }
@@ -283,7 +283,7 @@ fn is_nightly() -> bool {
     bootstrap || !disable_unstable_features
 }
 
-// Gets the CLI options assotiated with `report-time` feature.
+// Gets the CLI options associated with `report-time` feature.
 fn get_time_options(
     matches: &getopts::Matches,
     allow_unstable: bool,