]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0308-4.stderr
Reword label as per review comment
[rust.git] / src / test / ui / error-codes / E0308-4.stderr
index 31875349bace08e6412dd029c9780f2b353572e6..f69a389336590817614194480b0a7f037ada8ca2 100644 (file)
@@ -1,7 +1,9 @@
 error[E0308]: mismatched types
-  --> $DIR/E0308-4.rs:14:9
+  --> $DIR/E0308-4.rs:4:9
    |
-LL |         0u8...3i8 => (), //~ ERROR E0308
+LL |     match x {
+   |           - this match expression has type `u8`
+LL |         0u8..=3i8 => (), //~ ERROR E0308
    |         ^^^^^^^^^ expected u8, found i8
 
 error: aborting due to previous error