]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/pattern/pattern-ident-path-generics.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / pattern / pattern-ident-path-generics.stderr
index bfc10c5f86652b5519e948cb30ca710bd18afd58..338eb6ff0c83b3d639cb05cb84a49b39e639ddd8 100644 (file)
@@ -2,10 +2,10 @@ error[E0308]: mismatched types
   --> $DIR/pattern-ident-path-generics.rs:3:9
    |
 LL |         None::<isize> => {}
-   |         ^^^^^^^^^^^^^ expected &str, found isize
+   |         ^^^^^^^^^^^^^ expected `&str`, found `isize`
    |
-   = note: expected type `std::option::Option<&str>`
-              found type `std::option::Option<isize>`
+   = note: expected enum `std::option::Option<&str>`
+              found enum `std::option::Option<isize>`
 
 error: aborting due to previous error