We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42e1e12 commit 5e49a41Copy full SHA for 5e49a41
library/core/src/mem/mod.rs
@@ -1054,6 +1054,7 @@ pub const fn copy<T: Copy>(x: &T) -> T {
1054
/// ```
1055
#[inline]
1056
#[must_use]
1057
+#[track_caller]
1058
#[stable(feature = "rust1", since = "1.0.0")]
1059
#[rustc_const_stable(feature = "const_transmute_copy", since = "1.74.0")]
1060
pub const unsafe fn transmute_copy<Src, Dst>(src: &Src) -> Dst {
0 commit comments