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! {
277277 bool ,
278278 char ,
279279 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 ,
283283}
284284
285285/// Types whose values can be duplicated simply by copying bits.
@@ -998,7 +998,7 @@ marker_impls! {
998998 str /* Technically requires `[u8]: ConstParamTy` */ ,
999999 { T : ConstParamTy , const N : usize } [ T ; N ] ,
10001000 { T : ConstParamTy } [ T ] ,
1001- { T : ConstParamTy } & T ,
1001+ { T : ? Sized + ConstParamTy } & T ,
10021002}
10031003
10041004/// A common trait implemented by all function pointers.
You can’t perform that action at this time.
0 commit comments