@@ -113,7 +113,7 @@ pub struct Lifetime {
113
113
#[auto_encode]
114
114
#[auto_decode]
115
115
#[deriving(Eq)]
116
- pub struct path {
116
+ pub struct Path {
117
117
span: span,
118
118
global: bool,
119
119
idents: ~[ident],
@@ -301,10 +301,10 @@ pub enum pat_ {
301
301
// which it is. The resolver determines this, and
302
302
// records this pattern's node_id in an auxiliary
303
303
// set (of " pat_idents that refer to nullary enums")
304
- pat_ident(binding_mode, @path , Option<@pat>),
305
- pat_enum(@path , Option<~[@pat]>), /* " none" means a * pattern where
304
+ pat_ident(binding_mode, @Path , Option<@pat>),
305
+ pat_enum(@Path , Option<~[@pat]>), /* " none" means a * pattern where
306
306
* we don't bind the fields to names */
307
- pat_struct(@path , ~[field_pat], bool),
307
+ pat_struct(@Path , ~[field_pat], bool),
308
308
pat_tup(~[@pat]),
309
309
pat_box(@pat),
310
310
pat_uniq(@pat),
@@ -567,7 +567,7 @@ pub enum expr_ {
567
567
expr_assign_op(binop, @expr, @expr),
568
568
expr_field(@expr, ident, ~[@Ty]),
569
569
expr_index(@expr, @expr),
570
- expr_path(@path ),
570
+ expr_path(@Path ),
571
571
expr_addr_of(mutability, @expr),
572
572
expr_break(Option<ident>),
573
573
expr_again(Option<ident>),
@@ -579,7 +579,7 @@ pub enum expr_ {
579
579
expr_mac(mac),
580
580
581
581
// A struct literal expression.
582
- expr_struct(@path , ~[field], Option<@expr>),
582
+ expr_struct(@Path , ~[field], Option<@expr>),
583
583
584
584
// A vector literal constructed from one repeated element.
585
585
expr_repeat(@expr /* element */, @expr /* count */, mutability),
@@ -697,7 +697,7 @@ pub type mac = spanned<mac_>;
697
697
#[auto_decode]
698
698
#[deriving(Eq)]
699
699
pub enum mac_ {
700
- mac_invoc_tt(@path ,~[token_tree]), // new macro-invocation
700
+ mac_invoc_tt(@Path ,~[token_tree]), // new macro-invocation
701
701
}
702
702
703
703
pub type lit = spanned<lit_>;
@@ -894,7 +894,7 @@ pub enum ty_ {
894
894
ty_closure(@TyClosure),
895
895
ty_bare_fn(@TyBareFn),
896
896
ty_tup(~[@Ty]),
897
- ty_path(@path , node_id),
897
+ ty_path(@Path , node_id),
898
898
ty_mac(mac),
899
899
// ty_infer means the type should be inferred instead of it having been
900
900
// specified. This should only appear at the " top level" of a type and not
@@ -1118,13 +1118,13 @@ pub enum view_path_ {
1118
1118
// or just
1119
1119
//
1120
1120
// foo::bar::baz (with 'baz =' implicitly on the left)
1121
- view_path_simple(ident, @path , namespace, node_id),
1121
+ view_path_simple(ident, @Path , namespace, node_id),
1122
1122
1123
1123
// foo::bar::*
1124
- view_path_glob(@path , node_id),
1124
+ view_path_glob(@Path , node_id),
1125
1125
1126
1126
// foo::bar::{a,b,c}
1127
- view_path_list(@path , ~[path_list_ident], node_id)
1127
+ view_path_list(@Path , ~[path_list_ident], node_id)
1128
1128
}
1129
1129
1130
1130
#[auto_encode]
@@ -1177,7 +1177,7 @@ pub struct attribute_ {
1177
1177
#[ auto_decode]
1178
1178
#[ deriving( Eq ) ]
1179
1179
pub struct trait_ref {
1180
- path: @path ,
1180
+ path: @Path ,
1181
1181
ref_id: node_id,
1182
1182
}
1183
1183
0 commit comments