Skip to content

incr.comp.: TraitSelect((core::ops::FnOnce, core::ops::FnOnce)) depends on HirBody nodes containing closures #42602

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
michaelwoerister opened this issue Jun 12, 2017 · 1 comment
Assignees
Labels
A-incr-comp Area: Incremental compilation

Comments

@michaelwoerister
Copy link
Member

This causes there to be almost no re-use in many cases.

Here's an example of the dependency structure from https://github.com/rust-lang-nursery/rustc-benchmarks/blob/35b45b7f4418b83053f9a46d6b5d2e4b0d253526/regex-0.1.80/makefile#L33:

HirBody(expand::find_cap_ref)
   -> ItemSignature(expand::find_cap_ref::{{closure}})
      -> TraitSelect((core::ops::FnOnce, core::ops::FnOnce)) 
         -> **everything**

cc @nikomatsakis

@nikomatsakis
Copy link
Contributor

will fix shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation
Projects
None yet
Development

No branches or pull requests

3 participants