rust/clippy_lints
João Paulo Taylor Ienczak Zanette 738ed38306 clippy_lints: Do not warn against Box parameter in C FFI
Fixes #5542.

When using C FFI, to handle pointers in parameters it is needed to
declare them as `Box` in its Rust-side signature. However, the current
linter warns against the usage of Box stating that "local variable
doesn't need to be boxed here".

This commit fixes it by ignoring functions whose Abi is Cdecl.
2020-10-07 21:41:54 -03:00
..
src clippy_lints: Do not warn against Box parameter in C FFI 2020-10-07 21:41:54 -03:00
Cargo.toml clippy_lints: Replace lazy_static with SyncLazy 2020-10-06 14:39:04 +02:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.