Skip to content

Conversation

eddyb
Copy link
Member

@eddyb eddyb commented Jul 14, 2020

The only HirIds being tracked there that don't have matching DefIds are local variables, and that's an accident from #44316 (where I preserved the old behavior, even if nothing relied on reachability tracking local variables).

@eddyb
Copy link
Member Author

eddyb commented Jul 14, 2020

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Collaborator

bors commented Jul 14, 2020

⌛ Trying commit 6716c0e4207bfb5e4fa845e097d2c288bc98277e with merge 902ba0f9165e2d3491f89552b03ad7ba8d26e9a8...

@bors
Copy link
Collaborator

bors commented Jul 15, 2020

☀️ Try build successful - checks-actions, checks-azure
Build commit: 902ba0f9165e2d3491f89552b03ad7ba8d26e9a8 (902ba0f9165e2d3491f89552b03ad7ba8d26e9a8)

@rust-timer
Copy link
Collaborator

Queued 902ba0f9165e2d3491f89552b03ad7ba8d26e9a8 with parent 23744c8, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (902ba0f9165e2d3491f89552b03ad7ba8d26e9a8): comparison url.

@eddyb
Copy link
Member Author

eddyb commented Jul 15, 2020

Mostly neutral, so this is more of a cleanup PR than an optimization one.

@eddyb
Copy link
Member Author

eddyb commented Jul 21, 2020

Somehow this ended up without an assignee?

r? @nikomatsakis

@nikomatsakis
Copy link
Contributor

r=me but needs rebase

@crlf0710 crlf0710 added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Aug 7, 2020
@eddyb
Copy link
Member Author

eddyb commented Aug 16, 2020

@bors r=nikomatsakis

@bors
Copy link
Collaborator

bors commented Aug 16, 2020

📌 Commit 8b86b28 has been approved by nikomatsakis

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 16, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Aug 16, 2020
Use LocalDefId instead of HirId for reachable_set elements.

The only `HirId`s being tracked there that don't have matching `DefId`s are local variables, and that's an accident from rust-lang#44316 (where I preserved the old behavior, even if nothing relied on reachability tracking local variables).
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 16, 2020
Rollup of 10 pull requests

Successful merges:

 - rust-lang#74204 (Don't visit foreign function bodies when lowering ast to hir)
 - rust-lang#74314 (rustc_typeck: construct {Closure,Generator}Substs more directly.)
 - rust-lang#74346 (Use LocalDefId instead of HirId for reachable_set elements.)
 - rust-lang#74399 (Move DelaySpanBugEmitted to ty::context)
 - rust-lang#75177 (Add regression test for issue-66768)
 - rust-lang#75223 (Add #[track_caller] to `Session::delay_span_bug`)
 - rust-lang#75423 (Move to intra-doc links for /library/core/src/hint.rs)
 - rust-lang#75485 (pin docs: add some forward references)
 - rust-lang#75569 (Bump minor version of emsdk to 1.38.47)
 - rust-lang#75596 (Switch to intra-doc links in /sys/windows/ext/{ffi,fs,process}.rs)

Failed merges:

r? @ghost
@bors bors merged commit 3ef2244 into rust-lang:master Aug 16, 2020
@eddyb eddyb deleted the reachable-defs branch August 17, 2020 02:20
@cuviper cuviper added this to the 1.47.0 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants