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