about summary refs log tree commit diff
path: root/src/test/compile-fail/liveness-ctor-uninit-field.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/liveness-ctor-uninit-field.rs')
-rw-r--r--src/test/compile-fail/liveness-ctor-uninit-field.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/liveness-ctor-uninit-field.rs b/src/test/compile-fail/liveness-ctor-uninit-field.rs
index 080d4678a2f..3d4a88db262 100644
--- a/src/test/compile-fail/liveness-ctor-uninit-field.rs
+++ b/src/test/compile-fail/liveness-ctor-uninit-field.rs
@@ -6,7 +6,7 @@ class cat {
   new() {
      self.a = 3;
      self.b = self.a;
-     self.a += self.c; //! ERROR use of possibly uninitialized field: `self.c`
+     self.a += self.c; //~ ERROR use of possibly uninitialized field: `self.c`
   }
 }