File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed
branches/auto/src/libsyntax Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: 609a9e69e1c1def4d570cfb3c31640200ef738c9
17
+ refs/heads/auto: a4df35f2bcb9a399b2d4a1aa3c1def7682f9cb62
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
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