Skip to content

Commit 2d04c50

Browse files
committed
safe transmute: reference tracking issue
ref: rust-lang/rust#92268 (comment)
1 parent cf4bdd0 commit 2d04c50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/src/mem/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ mod valid_align;
2828
pub(crate) use valid_align::ValidAlign;
2929

3030
mod transmutability;
31-
#[unstable(feature = "transmutability", issue = "none")]
31+
#[unstable(feature = "transmutability", issue = "99571")]
3232
pub use transmutability::{Assume, BikeshedIntrinsicFrom};
3333

3434
#[stable(feature = "rust1", since = "1.0.0")]

core/src/mem/transmutability.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/// This trait is implemented on-the-fly by the compiler for types `Src` and `Self` when the bits of
44
/// any value of type `Self` are safely transmutable into a value of type `Dst`, in a given `Context`,
55
/// notwithstanding whatever safety checks you have asked the compiler to [`Assume`] are satisfied.
6-
#[unstable(feature = "transmutability", issue = "none")]
6+
#[unstable(feature = "transmutability", issue = "99571")]
77
#[cfg_attr(not(bootstrap), lang = "transmute_trait")]
88
#[rustc_on_unimplemented(
99
message = "`{Src}` cannot be safely transmuted into `{Self}` in the defining scope of `{Context}`.",
@@ -22,7 +22,7 @@ pub unsafe trait BikeshedIntrinsicFrom<
2222
}
2323

2424
/// What transmutation safety conditions shall the compiler assume that *you* are checking?
25-
#[unstable(feature = "transmutability", issue = "none")]
25+
#[unstable(feature = "transmutability", issue = "99571")]
2626
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
2727
pub struct Assume {
2828
/// When `true`, the compiler assumes that *you* are ensuring (either dynamically or statically) that

0 commit comments

Comments
 (0)