Skip to content

Commit 7a091d4

Browse files
author
Alexander Regueiro
committed
tools: debug & error messages
1 parent d3f4048 commit 7a091d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/tools/compiletest/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
140140
"",
141141
"runtool",
142142
"supervisor program to run tests under \
143-
(eg. emulator, valgrind)",
143+
(e.g., emulator, valgrind)",
144144
"PROGRAM",
145145
)
146146
.optopt(

src/tools/compiletest/src/runtest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ impl<'test> TestCx<'test> {
512512
// Finally, let's make sure it actually appears to remain valid code.
513513
let proc_res = self.typecheck_source(actual);
514514
if !proc_res.status.success() {
515-
self.fatal_proc_rec("pretty-printed source does not typecheck", &proc_res);
515+
self.fatal_proc_rec("pretty-printed source does not type-check", &proc_res);
516516
}
517517

518518
if !self.props.pretty_expanded {
@@ -532,7 +532,7 @@ impl<'test> TestCx<'test> {
532532
let proc_res = self.typecheck_source(expanded_src);
533533
if !proc_res.status.success() {
534534
self.fatal_proc_rec(
535-
"pretty-printed source (expanded) does not typecheck",
535+
"pretty-printed source (expanded) does not type-check",
536536
&proc_res,
537537
);
538538
}

0 commit comments

Comments
 (0)