mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-17 19:14:16 +00:00
738ed38306
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |