diff options
| author | P1start <rewi-github@whanau.org> | 2014-11-28 19:01:41 +1300 |
|---|---|---|
| committer | P1start <rewi-github@whanau.org> | 2014-11-30 20:26:53 +1300 |
| commit | 432adc675e2955cbc639cbecf318dc23e053e7e2 (patch) | |
| tree | 7a1c65771cc6cc76ea268b85804d23d359dcc832 /src/libsyntax/parse | |
| parent | dbbb722f253060401f672d590db544ac02b1c81e (diff) | |
| download | rust-432adc675e2955cbc639cbecf318dc23e053e7e2.tar.gz rust-432adc675e2955cbc639cbecf318dc23e053e7e2.zip | |
Adjust some error messages to start with a lowercase letter and not finish with a full stop
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/attr.rs | 2 | ||||
| -rw-r--r-- | src/libsyntax/parse/lexer/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/attr.rs b/src/libsyntax/parse/attr.rs index 0c919daa8ed..db7bc6c323f 100644 --- a/src/libsyntax/parse/attr.rs +++ b/src/libsyntax/parse/attr.rs @@ -99,7 +99,7 @@ impl<'a> ParserAttr for Parser<'a> { if permit_inner && self.eat(&token::Semi) { self.span_warn(span, "this inner attribute syntax is deprecated. \ - The new syntax is `#![foo]`, with a bang and no semicolon."); + The new syntax is `#![foo]`, with a bang and no semicolon"); style = ast::AttrInner; } diff --git a/src/libsyntax/parse/lexer/mod.rs b/src/libsyntax/parse/lexer/mod.rs index b5358e7d485..57983a6dee6 100644 --- a/src/libsyntax/parse/lexer/mod.rs +++ b/src/libsyntax/parse/lexer/mod.rs @@ -809,7 +809,7 @@ impl<'a> StringReader<'a> { self.span_diagnostic.span_help( sp, "this is an isolated carriage return; consider checking \ - your editor and version control settings.") + your editor and version control settings") } false } |
