Skip to content

Commit c294396

Browse files
committed
---
yaml --- r: 65241 b: refs/heads/master c: a4df35f h: refs/heads/master i: 65239: 401f7d9 v: v3
1 parent 402fb87 commit c294396

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 609a9e69e1c1def4d570cfb3c31640200ef738c9
2+
refs/heads/master: a4df35f2bcb9a399b2d4a1aa3c1def7682f9cb62
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libsyntax/ast.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ use abi::AbiSet;
1717
use opt_vec::OptVec;
1818
use parse::token::get_ident_interner;
1919

20-
use core::cast;
2120
use core::hashmap::HashMap;
22-
use core::option::{Option};
21+
use core::option::Option;
2322
use core::to_bytes::IterBytes;
2423
use core::to_bytes;
2524
use core::to_str::ToStr;

trunk/src/libsyntax/ext/pipes/ast_builder.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515

1616
use core::prelude::*;
1717

18-
use abi::AbiSet;
1918
use ast::ident;
2019
use ast;
2120
use codemap::span;
22-
// use ext::quote::rt::*;
2321

2422
// Transitional reexports so qquote can find the paths it is looking for
2523
mod syntax {

trunk/src/libsyntax/parse/parser.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ pub impl Parser {
27522752
match *self.token {
27532753
token::SEMI => {
27542754
if !vec::is_empty(attributes_box) {
2755-
self.span_err(*self.last_span,~"expected item after attributes");
2755+
self.span_err(*self.last_span, "expected item after attributes");
27562756
attributes_box = ~[];
27572757
}
27582758
self.bump(); // empty
@@ -2823,7 +2823,7 @@ pub impl Parser {
28232823
}
28242824

28252825
if !vec::is_empty(attributes_box) {
2826-
self.span_err(*self.last_span,~"expected item after attributes");
2826+
self.span_err(*self.last_span, "expected item after attributes");
28272827
}
28282828

28292829
let hi = self.span.hi;
@@ -3742,7 +3742,7 @@ pub impl Parser {
37423742
} = self.parse_foreign_items(first_item_attrs, true);
37433743
if (! attrs_remaining.is_empty()) {
37443744
self.span_err(*self.last_span,
3745-
~"expected item after attributes");
3745+
"expected item after attributes");
37463746
}
37473747
assert!(*self.token == token::RBRACE);
37483748
ast::foreign_mod {

0 commit comments

Comments
 (0)