about summary refs log tree commit diff
path: root/src/test/compile-fail/struct-no-fields-5.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/struct-no-fields-5.rs')
-rw-r--r--src/test/compile-fail/struct-no-fields-5.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/struct-no-fields-5.rs b/src/test/compile-fail/struct-no-fields-5.rs
index 81c050e61cb..bd196e881aa 100644
--- a/src/test/compile-fail/struct-no-fields-5.rs
+++ b/src/test/compile-fail/struct-no-fields-5.rs
@@ -12,7 +12,7 @@ struct Foo;
 
 fn i5() {
     let _end_of_block = { Foo { } };
-    //~^ ERROR: Unit-like struct construction is written with no trailing `{ }`
+    //~^ ERROR: unit-like struct construction is written with no trailing `{ }`
 }
 
 fn main() {}