Change ast::path into a struct.

This commit is contained in:
Erick Tryzelaar 2013-01-13 10:48:09 -08:00
parent 1be4bfb8cc
commit bea67bde21
12 changed files with 144 additions and 71 deletions

View file

@ -79,11 +79,13 @@ type fn_ident = Option<ident>;
#[auto_encode]
#[auto_decode]
type path = {span: span,
global: bool,
idents: ~[ident],
rp: Option<@region>,
types: ~[@Ty]};
struct path {
span: span,
global: bool,
idents: ~[ident],
rp: Option<@region>,
types: ~[@Ty],
}
type crate_num = int;