aboutsummaryrefslogtreecommitdiff
path: root/src/boot/fe/item.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-09-20 13:06:49 -0700
committerGraydon Hoare <[email protected]>2010-09-20 13:06:49 -0700
commit7ab3b305e4f2b8f7d1e24c45756cfe23b0859ddc (patch)
tree4897e598c2a06a76bfd0c2e709e6828126b29d29 /src/boot/fe/item.ml
parentBeginnings of post-resolve simplify pass. (diff)
downloadrust-7ab3b305e4f2b8f7d1e24c45756cfe23b0859ddc.tar.xz
rust-7ab3b305e4f2b8f7d1e24c45756cfe23b0859ddc.zip
Move id counters into sess in preparation for moving desugaring to middle-end.
Diffstat (limited to 'src/boot/fe/item.ml')
-rw-r--r--src/boot/fe/item.ml9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/boot/fe/item.ml b/src/boot/fe/item.ml
index 00eb8387..c747713b 100644
--- a/src/boot/fe/item.ml
+++ b/src/boot/fe/item.ml
@@ -1202,14 +1202,7 @@ and parse_use
let apos = lexpos ps in
let bpos = lexpos ps in
let id = (span ps apos bpos ()).id in
- let (path, items) =
- ps.pstate_get_mod
- meta
- id
- ps.pstate_node_id
- ps.pstate_opaque_id
- ps.pstate_crate_cache
- in
+ let (path, items) = ps.pstate_get_mod meta id ps.pstate_crate_cache in
let bpos = lexpos ps in
expect ps SEMI;
let rlib =