]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/return/return-type.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / return / return-type.stderr
index 5af136e6011238497ff2b145661577b7a4ce979f..60d538eba882abcc143e5441e06a0b21b2e13dbc 100644 (file)
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/return-type.rs:10:5
    |
 LL |     foo(4 as usize)
-   |     ^^^^^^^^^^^^^^^ expected `()`, found struct `S`
+   |     ^^^^^^^^^^^^^^^ expected `()`, found `S<usize>`
    |
    = note: expected unit type `()`
                  found struct `S<usize>`