-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use a function to access the Hir map to be able to turn it into a query later #56502
Conversation
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
This PR LGTM as-is (cc @nikomatsakis @michaelwoerister). FWIW, what I was envisioning long-term, would be something like That is, everything would start from a Among other things, this would allow us to avoid keeping the entire HIR in-memory all the time. |
☔ The latest upstream changes (presumably #56486) made this pull request unmergeable. Please resolve the merge conflicts. |
Discussed in compiler meeting, no complaints, only cheering. So I guess r=eddyb after a rebase |
@bors p=1 super bitrotty PR |
Protip for @rust-lang/dev-tools, search and replace |
@bors r=eddyb |
📌 Commit a70babe has been approved by |
Use a function to access the Hir map to be able to turn it into a query later r? @eddyb
☀️ Test successful - status-appveyor, status-travis |
📣 Toolstate changed by #56502! Tested on commit 4a45578. 💔 clippy-driver on windows: test-fail → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). |
Tested on commit rust-lang/rust@4a45578. Direct link to PR: <rust-lang/rust#56502> 💔 clippy-driver on windows: test-fail → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). 💔 clippy-driver on linux: test-fail → build-fail (cc @Manishearth @llogiq @mcarton @oli-obk, @rust-lang/infra). 💔 miri on windows: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra). 💔 miri on linux: test-fail → build-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
rustup rust-lang/rust#56502 ( .hir -> .hir() )
Changes: ```` s/rustfmt-preview/rustfmt/ Swap if branches Fix c_void false positive caused by libc refactoring rustup rust-lang#56502 ( .hir -> .hir() ) typo: emum → enum Fix format. Add sysroot gettinh code to dogfood tests. Add sysroot getting code to tests. Don't try to determine sysroot. rustc_driver will use default value. Fix suggestion for multiple derefs Fix `clone_on_copy` not detecting derefs sometimes ````
submodules: update clippy from 1df5766 to a3c77f6 fixes clippy toolstate Changes: ```` s/rustfmt-preview/rustfmt/ Swap if branches Fix c_void false positive caused by libc refactoring rustup #56502 ( .hir -> .hir() ) typo: emum → enum Fix format. Add sysroot gettinh code to dogfood tests. Add sysroot getting code to tests. Don't try to determine sysroot. rustc_driver will use default value. Fix suggestion for multiple derefs Fix `clone_on_copy` not detecting derefs sometimes ```` r? @oli-obk
Changes: ```` s/rustfmt-preview/rustfmt/ Swap if branches Fix c_void false positive caused by libc refactoring rustup rust-lang/rust#56502 ( .hir -> .hir() ) typo: emum → enum Fix format. Add sysroot gettinh code to dogfood tests. Add sysroot getting code to tests. Don't try to determine sysroot. rustc_driver will use default value. Fix suggestion for multiple derefs Fix `clone_on_copy` not detecting derefs sometimes ````
r? @eddyb