File tree 3 files changed +4
-2
lines changed
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 {
215
215
f,
216
216
"{}<{}>(" ,
217
217
stringify!( $id) ,
218
- unsafe { crate :: intrinsics:: type_name:: <T >( ) }
218
+ crate :: intrinsics:: type_name:: <T >( )
219
219
) ?;
220
220
for i in 0 ..$elem_count {
221
221
if i > 0 {
Original file line number Diff line number Diff line change 220
220
clippy:: cast_precision_loss,
221
221
// This lint is currently broken for generic code
222
222
// See https://github.com/rust-lang/rust-clippy/issues/3410
223
- clippy:: use_self
223
+ clippy:: use_self,
224
+ clippy:: wrong_self_convention
224
225
) ]
225
226
#![ cfg_attr( test, feature( hashmap_internals) ) ]
226
227
#![ deny( warnings, 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 {
8
8
9
9
impl crate :: sealed:: Seal for $id { }
10
10
impl crate :: sealed:: Mask for $id {
11
+ #[ inline]
11
12
fn test( & self ) -> bool {
12
13
$id:: test( self )
13
14
}
You can’t perform that action at this time.
0 commit comments