]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/transmute_64bit.stderr
Fix #88256, remove duplicated diagnostic
[rust.git] / tests / ui / transmute_64bit.stderr
index 457050ec504b6f605e0ca518ccdc4dc85d173b7b..d1854c009ef56f9b183f551dfdcc76e5943819e8 100644 (file)
@@ -1,5 +1,5 @@
 error: transmute from a `f64` to a pointer
-  --> $DIR/transmute_64bit.rs:7:31
+  --> $DIR/transmute_64bit.rs:6:31
    |
 LL |         let _: *const usize = std::mem::transmute(6.0f64);
    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -7,7 +7,7 @@ LL |         let _: *const usize = std::mem::transmute(6.0f64);
    = note: `-D clippy::wrong-transmute` implied by `-D warnings`
 
 error: transmute from a `f64` to a pointer
-  --> $DIR/transmute_64bit.rs:9:29
+  --> $DIR/transmute_64bit.rs:8:29
    |
 LL |         let _: *mut usize = std::mem::transmute(6.0f64);
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^