We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9bd80f commit 4d683c0Copy full SHA for 4d683c0
library/core/tests/mem.rs
@@ -97,6 +97,9 @@ fn test_transmute_copy() {
97
assert_eq!(1, unsafe { transmute_copy(&1) });
98
}
99
100
+// Remove this test when `std::raw` is removed.
101
+// The replacement pointer metadata APIs are tested in library/core/tests/ptr.rs
102
+#[allow(deprecated)]
103
#[test]
104
fn test_transmute() {
105
trait Foo {
src/test/ui/cast/fat-ptr-cast-rpass.rs
@@ -1,5 +1,8 @@
1
// run-pass
2
3
+// Remove this file when `std::raw` is removed.
4
5
+#![allow(deprecated)]
6
#![feature(raw)]
7
8
use std::mem;
@@ -37,5 +40,4 @@ fn main() {
37
40
38
41
assert_eq!(b, d);
39
42
assert_eq!(c, d as usize);
-
43
0 commit comments