]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/proc-macro/nested-item-spans.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / proc-macro / nested-item-spans.stderr
index bef80311f38e5fa5f85c44b619d758ce975fba0f..44b338fa62215a78f567f35811b1cdb182a61fd7 100644 (file)
@@ -2,19 +2,17 @@ error[E0308]: mismatched types
   --> $DIR/nested-item-spans.rs:9:22
    |
 LL |         let x: u32 = "x";
-   |                      ^^^ expected u32, found reference
-   |
-   = note: expected type `u32`
-              found type `&'static str`
+   |                ---   ^^^ expected `u32`, found `&str`
+   |                |
+   |                expected due to this
 
 error[E0308]: mismatched types
   --> $DIR/nested-item-spans.rs:18:22
    |
 LL |         let x: u32 = "x";
-   |                      ^^^ expected u32, found reference
-   |
-   = note: expected type `u32`
-              found type `&'static str`
+   |                ---   ^^^ expected `u32`, found `&str`
+   |                |
+   |                expected due to this
 
 error: aborting due to 2 previous errors