]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_error_codes/src/error_codes/E0311.md
fix line lengths
[rust.git] / compiler / rustc_error_codes / src / error_codes / E0311.md
index a5975c4f472be31b87cf7637ca7cd6453a9cec66..9477a0b1fb76a7b2128072d98f8d8f4d856f3952 100644 (file)
@@ -1,5 +1,5 @@
-This error occurs when there is insufficient information for the rust compiler to
-prove that some time has a long enough lifetime.
+This error occurs when there is insufficient information for the rust compiler
+to prove that some time has a long enough lifetime.
 
 Erroneous code example:
 
@@ -22,10 +22,11 @@ where
 ```
 
 In this example we have a trait that borrows some inner data element of type `V`
-from an outer type `T`, through an intermediate type `U`. The compiler is unable to
-prove that the livetime of `U` is long enough to support the reference. To fix the
-issue we can explicitly add lifetime specifiers to the `NestedBorrowMut` trait, which
-link the lifetimes of the various data types and allow the code to compile.
+from an outer type `T`, through an intermediate type `U`. The compiler is unable
+to prove that the livetime of `U` is long enough to support the reference. To
+fix the issue we can explicitly add lifetime specifiers to the `NestedBorrowMut`
+trait, which link the lifetimes of the various data types and allow the code to
+compile.
 
 Working implementation of the `NestedBorrowMut` trait: