Skip to content
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

Update incrcomp-debugging.md #1905

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tbkhi
Copy link
Contributor

@Tbkhi Tbkhi commented Feb 25, 2024

Minor formatting updates.

Minor formatting updates.
@Tbkhi
Copy link
Contributor Author

Tbkhi commented Mar 5, 2024

Is TypeckTables still a part of the compiler?

https://doc.rust-lang.org/nightly/nightly-rustc/index.html?search=TypeckTables

src\queries\incremental-compilation-debugging.md
21:#[rustc_then_this_would_need(TypeckTables)] //~ ERROR OK
27:> If this (`foo`) is changed, then this (i.e. `bar`)'s `TypeckTables` would need to be changed.
35:#[rustc_then_this_would_need(TypeckTables)] //~ ERROR no path
40:> If `foo` is changed, then `baz`'s `TypeckTables` does not need to be changed.
78:RUST_DEP_GRAPH_FILTER='-> TypeckTables'
81:would select the predecessors of all `TypeckTables` nodes. Usually though you
82:want the `TypeckTables` node for some particular `fn`, so you might write:
85:RUST_DEP_GRAPH_FILTER='-> TypeckTables & bar'
88:This will select only the predecessors of `TypeckTables` nodes for functions
95:RUST_DEP_GRAPH_FILTER='Hir & foo -> TypeckTables & bar'
99:`TypeckTables(bar)`, from which you can (hopefully) see the source
125:Collect(bar) -> TypeckTables(bar)

@Tbkhi
Copy link
Contributor Author

Tbkhi commented Mar 5, 2024

CC: @spastorino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant