/// to a function that needs the memory address. For further details, refer to
/// [this issue](https://github.com/rust-lang/rust-clippy/issues/5953)
/// that explains a real case in which this false positive
/// to a function that needs the memory address. For further details, refer to
/// [this issue](https://github.com/rust-lang/rust-clippy/issues/5953)
/// that explains a real case in which this false positive
/// #[derive(Clone, Copy)]
/// struct TooLarge([u8; 2048]);
///
/// #[derive(Clone, Copy)]
/// struct TooLarge([u8; 2048]);
///
// Cap the calculated bit width at 32-bits to reduce
// portability problems between 32 and 64-bit targets
let bit_width = cmp::min(bit_width, 32);
// Cap the calculated bit width at 32-bits to reduce
// portability problems between 32 and 64-bit targets
let bit_width = cmp::min(bit_width, 32);
- self.check_poly_fn(cx, item.def_id, &*method_sig.decl, None);
+ self.check_poly_fn(cx, item.def_id, method_sig.decl, None);