]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/pattern-error-continue.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / pattern / pattern-error-continue.rs
index 79cc4b552a717eed3c9958b0a065a0837417298d..8635622ab37cc7b8fb223b015a06077aa8089838 100644 (file)
@@ -21,15 +21,13 @@ fn main() {
     match 'c' {
         S { .. } => (),
         //~^ ERROR mismatched types
-        //~| expected type `char`
-        //~| found type `S`
-        //~| expected char, found struct `S`
+        //~| expected `char`, found struct `S`
 
         _ => ()
     }
     f(true);
     //~^ ERROR mismatched types
-    //~| expected char, found bool
+    //~| expected `char`, found `bool`
 
     match () {
         E::V => {} //~ ERROR failed to resolve: use of undeclared type or module `E`