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 @@ -277,9 +277,9 @@ marker_impls! {
277
277
bool ,
278
278
char ,
279
279
str /* Technically requires `[u8]: StructuralEq` */ ,
280
- { T : ConstParamTy , const N : usize } [ T ; N ] ,
281
- { T : ConstParamTy } [ T ] ,
282
- { T : ConstParamTy } & T ,
280
+ { T : StructuralEq , const N : usize } [ T ; N ] ,
281
+ { T : StructuralEq } [ T ] ,
282
+ { T : ? Sized + StructuralEq } & T ,
283
283
}
284
284
285
285
/// Types whose values can be duplicated simply by copying bits.
@@ -998,7 +998,7 @@ marker_impls! {
998
998
str /* Technically requires `[u8]: ConstParamTy` */ ,
999
999
{ T : ConstParamTy , const N : usize } [ T ; N ] ,
1000
1000
{ T : ConstParamTy } [ T ] ,
1001
- { T : ConstParamTy } & T ,
1001
+ { T : ? Sized + ConstParamTy } & T ,
1002
1002
}
1003
1003
1004
1004
/// A common trait implemented by all function pointers.
You can’t perform that action at this time.
0 commit comments