diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-03-09 14:40:36 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-03-09 14:40:36 -0800 |
| commit | e2f6052c6d34229e41530d2260cd1915d11659bc (patch) | |
| tree | 8105d6b23c15e249dbd3bc17e2d4abd5d7fbc321 /src/rustc/syntax/parse/parser.rs | |
| parent | 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0 (diff) | |
| download | rust-e2f6052c6d34229e41530d2260cd1915d11659bc.tar.gz rust-e2f6052c6d34229e41530d2260cd1915d11659bc.zip | |
Revert "rustc: Create def IDs for region parameters"
This reverts commit 0d4cb759494f9589ba57c4f2c41f5a5737ab74e0.
Diffstat (limited to 'src/rustc/syntax/parse/parser.rs')
| -rw-r--r-- | src/rustc/syntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rustc/syntax/parse/parser.rs b/src/rustc/syntax/parse/parser.rs index 2e3eac602ca..d7f0982adde 100644 --- a/src/rustc/syntax/parse/parser.rs +++ b/src/rustc/syntax/parse/parser.rs @@ -424,7 +424,7 @@ fn parse_region(p: parser) -> ast::region { if string == "self" { ast::re_self } else { - ast::re_named({ ident: string, id: p.get_id()}) + ast::re_named(string) } } _ { ast::re_inferred } |
