about summary refs log tree commit diff
path: root/src/test/compile-fail/block-must-not-have-result-while.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/block-must-not-have-result-while.rs')
-rw-r--r--src/test/compile-fail/block-must-not-have-result-while.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/block-must-not-have-result-while.rs b/src/test/compile-fail/block-must-not-have-result-while.rs
index e4aceabf0c8..ed903f3fd65 100644
--- a/src/test/compile-fail/block-must-not-have-result-while.rs
+++ b/src/test/compile-fail/block-must-not-have-result-while.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// error-pattern:mismatched types: expected `()` but found `bool`
+// error-pattern:mismatched types: expected `()`, found `bool`
 
 fn main() {
     while true {