rustc: Make trans collect/partition a query
This commit moves the `collect_and_partition_translation_items` function into a query on `TyCtxt` instead of a free function in trans, allowing us to track dependencies and such of the function.
Showing
src/librustc/middle/trans.rs
0 → 100644
想要评论请 注册 或 登录