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 6ed7117 commit de0d0ccCopy full SHA for de0d0cc
core/src/mem/transmutability.rs
@@ -1,3 +1,5 @@
1
+use crate::marker::ConstParamTy;
2
+
3
/// Are values of a type transmutable into values of another type?
4
///
5
/// This trait is implemented on-the-fly by the compiler for types `Src` and `Self` when the bits of
@@ -33,6 +35,9 @@ pub struct Assume {
33
35
pub validity: bool,
34
36
}
37
38
+#[unstable(feature = "transmutability", issue = "99571")]
39
+impl ConstParamTy for Assume {}
40
41
impl Assume {
42
/// Do not assume that *you* have ensured any safety properties are met.
43
#[unstable(feature = "transmutability", issue = "99571")]
0 commit comments