diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index e4753faf811fd..0e27c31c3c22f 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -140,7 +140,7 @@ pub fn parse_config(args: Vec) -> Config { "", "runtool", "supervisor program to run tests under \ - (eg. emulator, valgrind)", + (e.g., emulator, valgrind)", "PROGRAM", ) .optopt( diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 5c61fefcad9e0..2f5bef30c4538 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -512,7 +512,7 @@ impl<'test> TestCx<'test> { // Finally, let's make sure it actually appears to remain valid code. let proc_res = self.typecheck_source(actual); if !proc_res.status.success() { - self.fatal_proc_rec("pretty-printed source does not typecheck", &proc_res); + self.fatal_proc_rec("pretty-printed source does not type-check", &proc_res); } if !self.props.pretty_expanded { @@ -532,7 +532,7 @@ impl<'test> TestCx<'test> { let proc_res = self.typecheck_source(expanded_src); if !proc_res.status.success() { self.fatal_proc_rec( - "pretty-printed source (expanded) does not typecheck", + "pretty-printed source (expanded) does not type-check", &proc_res, ); }