about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/ui/escape_analysis.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/escape_analysis.rs b/tests/ui/escape_analysis.rs
index 377a0fb502f..3d5a02bf705 100644
--- a/tests/ui/escape_analysis.rs
+++ b/tests/ui/escape_analysis.rs
@@ -177,5 +177,5 @@ mod issue_3739 {
 
 /// Issue #5542
 ///
-/// This shouldn't warn for `boxed_local` as it is a function implemented in C.
-pub extern "C" fn do_now_warn_me(_c_pointer: Box<String>) -> () {}
+/// This shouldn't warn for `boxed_local` as it is a function to be used in C.
+pub extern "C" fn do_not_warn_me(_c_pointer: Box<String>) -> () {}