]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/transmutes_expressible_as_ptr_casts.fixed
Move MSRV tests into the lint specific test files
[rust.git] / tests / ui / transmutes_expressible_as_ptr_casts.fixed
index b425cdd6cbfd441d45b3cacce9a3f2c60daa5b7e..7263abac15dfb96978597c5af32f24a4fb12ad25 100644 (file)
@@ -1,6 +1,6 @@
 // run-rustfix
 #![warn(clippy::transmutes_expressible_as_ptr_casts)]
-// These two warnings currrently cover the cases transmutes_expressible_as_ptr_casts
+// These two warnings currently cover the cases transmutes_expressible_as_ptr_casts
 // would otherwise be responsible for
 #![warn(clippy::useless_transmute)]
 #![warn(clippy::transmute_ptr_to_ptr)]
@@ -8,7 +8,7 @@
 
 use std::mem::{size_of, transmute};
 
-// rustc_typeck::check::cast contains documentation about when a cast `e as U` is
+// rustc_hir_analysis::check::cast contains documentation about when a cast `e as U` is
 // valid, which we quote from below.
 fn main() {
     // We should see an error message for each transmute, and no error messages for