about summary refs log tree commit diff
path: root/src/tools/compiletest
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-08-08 10:31:44 +0200
committerRalf Jung <post@ralfj.de>2023-08-08 10:35:22 +0200
commita7132bf3873d63d3534c28dc7be85c5b363395f6 (patch)
tree42ebaab004bc79292159e39eac6c8690d6b86772 /src/tools/compiletest
parent6742e2b18502afa9d27b0e02d0cfa36aa93aa2ee (diff)
downloadrust-a7132bf3873d63d3534c28dc7be85c5b363395f6.tar.gz
rust-a7132bf3873d63d3534c28dc7be85c5b363395f6.zip
interpret: remove incomplete protection against invalid where clauses
Diffstat (limited to 'src/tools/compiletest')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index c1987420417..3d237eb25cc 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -1645,7 +1645,7 @@ impl<'test> TestCx<'test> {
         if self.props.known_bug {
             if !expected_errors.is_empty() {
                 self.fatal_proc_rec(
-                    "`known_bug` tests should not have an expected errors",
+                    "`known_bug` tests should not have an expected error",
                     proc_res,
                 );
             }