File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ pub unsafe trait Send {
3535unsafe impl Send for .. { }
3636
3737#[ stable( feature = "rust1" , since = "1.0.0" ) ]
38- impl < T > !Send for * const T { }
38+ impl < T : ? Sized > !Send for * const T { }
3939#[ stable( feature = "rust1" , since = "1.0.0" ) ]
40- impl < T > !Send for * mut T { }
40+ impl < T : ? Sized > !Send for * mut T { }
4141
4242/// Types with a constant size known at compile-time.
4343///
@@ -230,9 +230,9 @@ pub unsafe trait Sync {
230230unsafe impl Sync for .. { }
231231
232232#[ stable( feature = "rust1" , since = "1.0.0" ) ]
233- impl < T > !Sync for * const T { }
233+ impl < T : ? Sized > !Sync for * const T { }
234234#[ stable( feature = "rust1" , since = "1.0.0" ) ]
235- impl < T > !Sync for * mut T { }
235+ impl < T : ? Sized > !Sync for * mut T { }
236236
237237macro_rules! impls{
238238 ( $t: ident) => (
You can’t perform that action at this time.
0 commit comments