diff options
| author | Jonathan Turner <jturner@mozilla.com> | 2016-05-13 12:57:34 -0700 |
|---|---|---|
| committer | Jonathan Turner <jturner@mozilla.com> | 2016-05-13 12:57:34 -0700 |
| commit | 6793cace06ff800015a3b997c12da7bb242ac213 (patch) | |
| tree | e991756839ed8a30e60986bd3ed612bf95847679 | |
| parent | ecadd7e9576698ff929511f670aee2190256b731 (diff) | |
Address nit
| -rw-r--r-- | src/librustc_resolve/lib.rs | 2 |
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) => { |
