File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
branches/auto/src/libsyntax/parse Expand file tree Collapse file tree 2 files changed +2
-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: 71c0bd5c5df8c3810b3c8dc369a9644dfd82c09b
17
+ refs/heads/auto: a818648aa91baaafe996a57797c7670836a61202
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
Original file line number Diff line number Diff line change @@ -3776,15 +3776,9 @@ pub impl Parser {
3776
3776
} )
3777
3777
}
3778
3778
3779
- fn parse_type_decl( & self ) -> ( BytePos , ident) {
3780
- let lo = self . last_span . lo ;
3781
- let id = self . parse_ident ( ) ;
3782
- ( lo, id)
3783
- }
3784
-
3785
3779
// parse type Foo = Bar;
3786
3780
fn parse_item_type( & self ) -> item_info {
3787
- let ( _ , ident) = self . parse_type_decl ( ) ;
3781
+ let ident = self . parse_ident ( ) ;
3788
3782
self . parse_region_param ( ) ;
3789
3783
let tps = self . parse_generics ( ) ;
3790
3784
self . expect ( & token:: EQ ) ;
You can’t perform that action at this time.
0 commit comments