From 243982443f0b94c8fb7dca42b7d8f3d5f7f0209f Mon Sep 17 00:00:00 2001 From: Nick Hamann Date: Mon, 13 Jul 2015 15:55:53 -0500 Subject: [PATCH] Clarify E0117 explanation. --- src/librustc_typeck/diagnostics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 57a637da9502..3e4a2c3116ea 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -1259,8 +1259,8 @@ Here's one example of this error: impl Drop for u32 {} ``` -To avoid this error, ensure that at least one local type is referenced by -the `impl`: +To avoid this kind of error, ensure that at least one local type is referenced +by the `impl`: ``` pub struct Foo; // you define your type in your crate