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 {
35
35
unsafe impl Send for .. { }
36
36
37
37
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
38
- impl < T > !Send for * const T { }
38
+ impl < T : ? Sized > !Send for * const T { }
39
39
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
40
- impl < T > !Send for * mut T { }
40
+ impl < T : ? Sized > !Send for * mut T { }
41
41
42
42
/// Types with a constant size known at compile-time.
43
43
///
@@ -230,9 +230,9 @@ pub unsafe trait Sync {
230
230
unsafe impl Sync for .. { }
231
231
232
232
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
233
- impl < T > !Sync for * const T { }
233
+ impl < T : ? Sized > !Sync for * const T { }
234
234
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
235
- impl < T > !Sync for * mut T { }
235
+ impl < T : ? Sized > !Sync for * mut T { }
236
236
237
237
macro_rules! impls{
238
238
( $t: ident) => (
You can’t perform that action at this time.
0 commit comments