File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 609a9e69e1c1def4d570cfb3c31640200ef738c9
2
+ refs/heads/master: a4df35f2bcb9a399b2d4a1aa3c1def7682f9cb62
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ use abi::AbiSet;
17
17
use opt_vec:: OptVec ;
18
18
use parse:: token:: get_ident_interner;
19
19
20
- use core:: cast;
21
20
use core:: hashmap:: HashMap ;
22
- use core:: option:: { Option } ;
21
+ use core:: option:: Option ;
23
22
use core:: to_bytes:: IterBytes ;
24
23
use core:: to_bytes;
25
24
use core:: to_str:: ToStr ;
Original file line number Diff line number Diff line change 15
15
16
16
use core:: prelude:: * ;
17
17
18
- use abi:: AbiSet ;
19
18
use ast:: ident;
20
19
use ast;
21
20
use codemap:: span;
22
- // use ext::quote::rt::*;
23
21
24
22
// Transitional reexports so qquote can find the paths it is looking for
25
23
mod syntax {
Original file line number Diff line number Diff line change @@ -2752,7 +2752,7 @@ pub impl Parser {
2752
2752
match * self . token {
2753
2753
token:: SEMI => {
2754
2754
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" ) ;
2756
2756
attributes_box = ~[ ] ;
2757
2757
}
2758
2758
self . bump ( ) ; // empty
@@ -2823,7 +2823,7 @@ pub impl Parser {
2823
2823
}
2824
2824
2825
2825
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" ) ;
2827
2827
}
2828
2828
2829
2829
let hi = self . span . hi ;
@@ -3742,7 +3742,7 @@ pub impl Parser {
3742
3742
} = self . parse_foreign_items( first_item_attrs, true ) ;
3743
3743
if ( ! attrs_remaining. is_empty( ) ) {
3744
3744
self . span_err( * self . last_span,
3745
- ~ "expected item after attributes") ;
3745
+ "expected item after attributes" ) ;
3746
3746
}
3747
3747
assert ! ( * self . token == token:: RBRACE ) ;
3748
3748
ast:: foreign_mod {
You can’t perform that action at this time.
0 commit comments