@@ -214,6 +214,35 @@ pub trait StructuralEq {
214214 // Empty.
215215}
216216
217+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
218+ impl StructuralEq for usize { }
219+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
220+ impl StructuralEq for u8 { }
221+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
222+ impl StructuralEq for u16 { }
223+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
224+ impl StructuralEq for u32 { }
225+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
226+ impl StructuralEq for u64 { }
227+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
228+ impl StructuralEq for u128 { }
229+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
230+ impl StructuralEq for isize { }
231+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
232+ impl StructuralEq for i8 { }
233+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
234+ impl StructuralEq for i16 { }
235+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
236+ impl StructuralEq for i32 { }
237+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
238+ impl StructuralEq for i64 { }
239+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
240+ impl StructuralEq for i128 { }
241+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
242+ impl StructuralEq for bool { }
243+ #[ unstable( feature = "structural_match" , issue = "31434" ) ]
244+ impl StructuralEq for char { }
245+
217246/// Types whose values can be duplicated simply by copying bits.
218247///
219248/// By default, variable bindings have 'move semantics.' In other
0 commit comments