]> git.lizzy.rs Git - rust.git/blobdiff - library/core/tests/mem.rs
Rollup merge of #85912 - LingMan:iter_any, r=nagisa
[rust.git] / library / core / tests / mem.rs
index c0b75036f4f3eb4107ed241d4c54ae495ee797f0..dfdbc9305d2a360e56262aa10d14578ae817651f 100644 (file)
@@ -97,6 +97,9 @@ fn test_transmute_copy() {
     assert_eq!(1, unsafe { transmute_copy(&1) });
 }
 
+// Remove this test when `std::raw` is removed.
+// The replacement pointer metadata APIs are tested in library/core/tests/ptr.rs
+#[allow(deprecated)]
 #[test]
 fn test_transmute() {
     trait Foo {