]> git.lizzy.rs Git - rust.git/commitdiff
clippy_lint: extern definition is in Rust, not C
authorJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Thu, 8 Oct 2020 12:07:24 +0000 (09:07 -0300)
committerJoão Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com>
Thu, 8 Oct 2020 12:07:24 +0000 (09:07 -0300)
tests/ui/escape_analysis.rs

index 3d5a02bf705c0518aa6bff677d9791ddcce3a60f..7d3f4011e999662838f7bf8975465d9e0aadbe04 100644 (file)
@@ -177,5 +177,5 @@ fn closure_borrow(x: Box<A>) {
 
 /// 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>) -> () {}