@@ -805,7 +805,6 @@ mod _transitions {
805805 T : TryFromBytes + Read < I :: Aliasing , R > ,
806806 I :: Aliasing : Reference ,
807807 I : Invariants < Validity = Initialized > ,
808- R : crate :: pointer:: ReadReason ,
809808 {
810809 // This call may panic. If that happens, it doesn't cause any soundness
811810 // issues, as we have not generated any invalid state which we need to
@@ -897,8 +896,6 @@ mod _casts {
897896 where
898897 T : Read < I :: Aliasing , R > ,
899898 U : ' a + ?Sized + Read < I :: Aliasing , S > + CastableFrom < T , I :: Validity , I :: Validity > ,
900- R : ReadReason ,
901- S : ReadReason ,
902899 F : FnOnce ( * mut T ) -> * mut U ,
903900 {
904901 // SAFETY: Because `T` and `U` both implement `Read<I::Aliasing, _>`,
@@ -921,7 +918,6 @@ mod _casts {
921918 #[ allow( clippy:: wrong_self_convention) ]
922919 pub ( crate ) fn as_bytes < R > ( self ) -> Ptr < ' a , [ u8 ] , ( I :: Aliasing , Aligned , Valid ) >
923920 where
924- R : ReadReason ,
925921 T : Read < I :: Aliasing , R > ,
926922 I :: Aliasing : Reference ,
927923 {
@@ -1019,7 +1015,6 @@ mod _casts {
10191015 CastError < Self , U > ,
10201016 >
10211017 where
1022- R : ReadReason ,
10231018 I :: Aliasing : Reference ,
10241019 U : ' a + ?Sized + KnownLayout + Read < I :: Aliasing , R > ,
10251020 {
@@ -1082,7 +1077,6 @@ mod _casts {
10821077 where
10831078 I :: Aliasing : Reference ,
10841079 U : ' a + ?Sized + KnownLayout + Read < I :: Aliasing , R > ,
1085- R : ReadReason ,
10861080 {
10871081 // TODO(#67): Remove this allow. See NonNulSlicelExt for more
10881082 // details.
0 commit comments