]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/resolve-inconsistent-names.rs
resolve, inconsistent binding mode: tweak wording.
[rust.git] / src / test / ui / resolve / resolve-inconsistent-names.rs
index 2fb803c4b2ad429dbefb667dbd6f55688c67146b..b9202f556d12b63f64af42975e994977eb50034b 100644 (file)
@@ -19,7 +19,7 @@ fn main() {
         (A, B) | (ref B, c) | (c, A) => ()
         //~^ ERROR variable `A` is not bound in all patterns
         //~| ERROR variable `B` is not bound in all patterns
-        //~| ERROR variable `B` is bound in inconsistent ways
+        //~| ERROR variable `B` is bound inconsistently
         //~| ERROR mismatched types
         //~| ERROR variable `c` is not bound in all patterns
         //~| HELP consider making the path in the pattern qualified: `?::A`