mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
clippy_lint: extern definition is in Rust, not C
This commit is contained in:
parent
418cde0389
commit
5ae0f2644d
1 changed files with 1 additions and 1 deletions
|
@ -177,5 +177,5 @@ mod issue_3739 {
|
|||
|
||||
/// Issue #5542
|
||||
///
|
||||
/// This shouldn't warn for `boxed_local` as it is a function to be used in C.
|
||||
/// This shouldn't warn for `boxed_local` as it is intended to called from non-Rust code.
|
||||
pub extern "C" fn do_not_warn_me(_c_pointer: Box<String>) -> () {}
|
||||
|
|
Loading…
Reference in a new issue