]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/type-mismatch-struct-field-shorthand.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / suggestions / type-mismatch-struct-field-shorthand.stderr
index ed8013d5997e43c0c12cb9d885fdefb9455ebbc1..7521c253545e159506372392f0832e7d7ff4af96 100644 (file)
@@ -4,7 +4,7 @@ error[E0308]: mismatched types
 LL |     let _ = RGB { r, g, b };
    |                   ^
    |                   |
-   |                   expected f64, found f32
+   |                   expected `f64`, found `f32`
    |                   help: you can convert an `f32` to `f64`: `r: r.into()`
 
 error[E0308]: mismatched types
@@ -13,7 +13,7 @@ error[E0308]: mismatched types
 LL |     let _ = RGB { r, g, b };
    |                      ^
    |                      |
-   |                      expected f64, found f32
+   |                      expected `f64`, found `f32`
    |                      help: you can convert an `f32` to `f64`: `g: g.into()`
 
 error[E0308]: mismatched types
@@ -22,7 +22,7 @@ error[E0308]: mismatched types
 LL |     let _ = RGB { r, g, b };
    |                         ^
    |                         |
-   |                         expected f64, found f32
+   |                         expected `f64`, found `f32`
    |                         help: you can convert an `f32` to `f64`: `b: b.into()`
 
 error: aborting due to 3 previous errors