]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_error_codes/error_codes/E0283.md
New upstream version 1.43.0+dfsg1
[rustc.git] / src / librustc_error_codes / error_codes / E0283.md
index 075f8b2e3bb80975e5e1ca862b932aa661a86708..6885f9a486d3d673b68c83320b590e72d7305fc8 100644 (file)
@@ -1,7 +1,6 @@
-This error occurs when the compiler doesn't have enough information
-to unambiguously choose an implementation.
+An implementation cannot be chosen unambiguously because of lack of information.
 
-For example:
+Erroneous code example:
 
 ```compile_fail,E0283
 trait Generator {
@@ -27,7 +26,9 @@ fn main() {
 }
 ```
 
-To resolve this error use the concrete type:
+This error can be solved by adding type annotations that provide the missing
+information to the compiler. In this case, the solution is to use a concrete
+type:
 
 ```
 trait Generator {