File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- use crate :: marker:: { ConstParamTy_ , UnsizedConstParamTy } ;
1+ use crate :: marker:: ConstParamTy_ ;
22
33/// Marks that `Src` is transmutable into `Self`.
44///
@@ -83,6 +83,7 @@ use crate::marker::{ConstParamTy_, UnsizedConstParamTy};
8383/// Furthermore, stability does not imply portability. For example, the size of
8484/// `usize` is stable, but not portable.
8585#[ unstable( feature = "transmutability" , issue = "99571" ) ]
86+ #[ unstable_feature_bound( transmutability) ]
8687#[ lang = "transmute_trait" ]
8788#[ rustc_deny_explicit_impl]
8889#[ rustc_do_not_implement_via_object]
@@ -288,9 +289,8 @@ pub struct Assume {
288289}
289290
290291#[ unstable( feature = "transmutability" , issue = "99571" ) ]
292+ #[ unstable_feature_bound( transmutability) ]
291293impl ConstParamTy_ for Assume { }
292- #[ unstable( feature = "transmutability" , issue = "99571" ) ]
293- impl UnsizedConstParamTy for Assume { }
294294
295295impl Assume {
296296 /// With this, [`TransmuteFrom`] does not assume you have ensured any safety
You can’t perform that action at this time.
0 commit comments