about summary refs log tree commit diff
path: root/src/test/compile-fail/resolve-inconsistent-binding-mode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/resolve-inconsistent-binding-mode.rs')
-rw-r--r--src/test/compile-fail/resolve-inconsistent-binding-mode.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/compile-fail/resolve-inconsistent-binding-mode.rs b/src/test/compile-fail/resolve-inconsistent-binding-mode.rs
index 351daf461d2..a230e813a48 100644
--- a/src/test/compile-fail/resolve-inconsistent-binding-mode.rs
+++ b/src/test/compile-fail/resolve-inconsistent-binding-mode.rs
@@ -14,21 +14,24 @@ enum opts {
 
 fn matcher1(x: opts) {
     match x {
-      a(ref i) | b(i) => {} //~ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
+      a(ref i) | b(i) => {}
+      //~^ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
       c(_) => {}
     }
 }
 
 fn matcher2(x: opts) {
     match x {
-      a(ref i) | b(i) => {} //~ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
+      a(ref i) | b(i) => {}
+      //~^ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
       c(_) => {}
     }
 }
 
 fn matcher4(x: opts) {
     match x {
-      a(ref mut i) | b(ref i) => {} //~ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
+      a(ref mut i) | b(ref i) => {}
+      //~^ ERROR variable `i` is bound with different mode in pattern #2 than in pattern #1
       c(_) => {}
     }
 }