File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ macro_rules! impl_minimal_p {
215215 f,
216216 "{}<{}>(" ,
217217 stringify!( $id) ,
218- unsafe { crate :: intrinsics:: type_name:: <T >( ) }
218+ crate :: intrinsics:: type_name:: <T >( )
219219 ) ?;
220220 for i in 0 ..$elem_count {
221221 if i > 0 {
Original file line number Diff line number Diff line change 220220 clippy:: cast_precision_loss,
221221 // This lint is currently broken for generic code
222222 // See https://github.com/rust-lang/rust-clippy/issues/3410
223- clippy:: use_self
223+ clippy:: use_self,
224+ clippy:: wrong_self_convention
224225) ]
225226#![ cfg_attr( test, feature( hashmap_internals) ) ]
226227#![ deny( rust_2018_idioms, clippy:: missing_inline_in_public_items) ]
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ macro_rules! impl_mask_ty {
88
99 impl crate :: sealed:: Seal for $id { }
1010 impl crate :: sealed:: Mask for $id {
11+ #[ inline]
1112 fn test( & self ) -> bool {
1213 $id:: test( self )
1314 }
You can’t perform that action at this time.
0 commit comments