From: Guillaume Gomez Date: Tue, 30 Jun 2020 11:36:33 +0000 (+0200) Subject: Clean up E0712 explanation X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=f74a7d3ff1a080f4877a43096985b693d5949f55;p=rust.git Clean up E0712 explanation --- diff --git a/src/librustc_error_codes/error_codes/E0712.md b/src/librustc_error_codes/error_codes/E0712.md index 89f60084f0a..7e09210e787 100644 --- a/src/librustc_error_codes/error_codes/E0712.md +++ b/src/librustc_error_codes/error_codes/E0712.md @@ -1,5 +1,5 @@ -This error occurs because a borrow of a thread-local variable was made inside a -function which outlived the lifetime of the function. +A borrow of a thread-local variable was made inside a function which outlived +the lifetime of the function. Erroneous code example: