about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Turner <jturner@mozilla.com>2016-05-13 12:57:34 -0700
committerJonathan Turner <jturner@mozilla.com>2016-05-13 12:57:34 -0700
commit6793cace06ff800015a3b997c12da7bb242ac213 (patch)
treee991756839ed8a30e60986bd3ed612bf95847679
parentecadd7e9576698ff929511f670aee2190256b731 (diff)
Address nit
-rw-r--r--src/librustc_resolve/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs
index 02cb16b2314..0424e8baf6a 100644
--- a/src/librustc_resolve/lib.rs
+++ b/src/librustc_resolve/lib.rs
@@ -285,7 +285,7 @@ fn resolve_struct_error<'b, 'a: 'b, 'c>(resolver: &'b Resolver<'a>,
                                            span,
                                            E0411,
                                            "use of `Self` outside of an impl or trait");
-            err.span_label(span, &format!("Used outside of impl or trait"));
+            err.span_label(span, &format!("used outside of impl or trait"));
             err
         }
         ResolutionError::UseOfUndeclared(kind, name, candidates) => {