From d6b50d8230629acd0aa7837942c7da112274848e Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 21 Jul 2020 21:08:21 +0200 Subject: [PATCH] Clean up E0724 explanation --- src/librustc_error_codes/error_codes/E0724.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustc_error_codes/error_codes/E0724.md b/src/librustc_error_codes/error_codes/E0724.md index 7a7ba154854..e8f84d0fc7d 100644 --- a/src/librustc_error_codes/error_codes/E0724.md +++ b/src/librustc_error_codes/error_codes/E0724.md @@ -1,4 +1,5 @@ -`#[ffi_returns_twice]` was used on non-foreign function. +`#[ffi_returns_twice]` was used on something other than a foreign function +declaration. Erroneous code example: