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