]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/transmute/main.stderr
Rollup merge of #103901 - H4x5:fmt-arguments-as-str-tracking-issue, r=the8472
[rust.git] / src / test / ui / transmute / main.stderr
index f48562094a4bc4e783b66dc1c6544033573a1c50..6cb0d7f67e0853a76a1558d6d27ee72cd8b83c1d 100644 (file)
@@ -1,11 +1,3 @@
-error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
-  --> $DIR/main.rs:13:5
-   |
-LL |     transmute(x)
-   |     ^^^^^^^^^
-   |
-   = note: `<C as TypeConstructor>::T` does not have a fixed size
-
 error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
   --> $DIR/main.rs:17:17
    |
@@ -33,6 +25,6 @@ LL |     let x: Foo = transmute(10);
    = note: source type: `i32` (32 bits)
    = note: target type: `Foo` (0 bits)
 
-error: aborting due to 4 previous errors
+error: aborting due to 3 previous errors
 
 For more information about this error, try `rustc --explain E0512`.