about summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/iter_bytes.rs
diff options
context:
space:
mode:
authormr.Shu <mr@shu.io>2014-02-06 10:38:08 +0100
committermr.Shu <mr@shu.io>2014-02-08 20:59:38 +0100
commitee3fa68fed13e7b8cde523e4bc73b9a07d082212 (patch)
tree225c4c1b7d0c304d9f2f6e44c32c4d7345a26b26 /src/libsyntax/ext/deriving/iter_bytes.rs
parent35518514c472e0b7bb4dd3588c4c80bd6dd5a627 (diff)
downloadrust-ee3fa68fed13e7b8cde523e4bc73b9a07d082212.tar.gz
rust-ee3fa68fed13e7b8cde523e4bc73b9a07d082212.zip
Fixed error starting with uppercase
Error messages cleaned in librustc/middle

Error messages cleaned in libsyntax

Error messages cleaned in libsyntax more agressively

Error messages cleaned in librustc more aggressively

Fixed affected tests

Fixed other failing tests

Last failing tests fixed
Diffstat (limited to 'src/libsyntax/ext/deriving/iter_bytes.rs')
-rw-r--r--src/libsyntax/ext/deriving/iter_bytes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/deriving/iter_bytes.rs b/src/libsyntax/ext/deriving/iter_bytes.rs
index 53805694725..5f680745ea7 100644
--- a/src/libsyntax/ext/deriving/iter_bytes.rs
+++ b/src/libsyntax/ext/deriving/iter_bytes.rs
@@ -48,7 +48,7 @@ pub fn expand_deriving_iter_bytes(cx: &mut ExtCtxt,
 fn iter_bytes_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure) -> @Expr {
     let (lsb0, f)= match substr.nonself_args {
         [l, f] => (l, f),
-        _ => cx.span_bug(trait_span, "Incorrect number of arguments in `deriving(IterBytes)`")
+        _ => cx.span_bug(trait_span, "incorrect number of arguments in `deriving(IterBytes)`")
     };
     // Build the "explicitly borrowed" stack closure, "|_buf| f(_buf)".
     let blk_arg = cx.ident_of("_buf");
@@ -82,7 +82,7 @@ fn iter_bytes_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substruc
 
             fields = fs;
         }
-        _ => cx.span_bug(trait_span, "Impossible substructure in `deriving(IterBytes)`")
+        _ => cx.span_bug(trait_span, "impossible substructure in `deriving(IterBytes)`")
     }
 
     for &FieldInfo { self_, span, .. } in fields.iter() {