-
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
Remove framework in dataflow/mod.rs
in favor of "generic" one
#69644
Remove framework in dataflow/mod.rs
in favor of "generic" one
#69644
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
r? @pnkfelix |
☔ The latest upstream changes (presumably #69746) made this pull request unmergeable. Please resolve the merge conflicts. |
370e52c
to
29dc6d0
Compare
Ping @pnkfelix. I'll hold off on rebasing this again until it is reviewed since it is prone to merge conflicts. |
☔ The latest upstream changes (presumably #70040) made this pull request unmergeable. Please resolve the merge conflicts. |
ping @pnkfelix This is just removing dead code and renaming some modules. Can you reassign if you're not going to get to this? |
29dc6d0
to
89d6009
Compare
Not sure what the hold up is. Can someone from @rust-lang/compiler review this? |
r? @eddyb (feel free to ask me in PMs for reviews) |
@bors r+ |
📌 Commit 89d6009 has been approved by |
Rollup of 5 pull requests Successful merges: - rust-lang#69644 (Remove framework in `dataflow/mod.rs` in favor of "generic" one) - rust-lang#69936 (Fix cycle error when emitting suggestion for mismatched `fn` type) - rust-lang#70048 (Allow obtaining &mut OsStr) - rust-lang#70344 (Decouple `rustc_hir::print` into `rustc_hir_pretty`) - rust-lang#70435 (Add regression test for rust-lang#66706) Failed merges: r? @ghost
Changes: ```` remove redundant import rustup rust-lang#68404 rustup rust-lang#69644 rustup rust-lang#70344 Move verbose_file_reads to restriction move redundant_pub_crate to nursery readme: explain how to run only a single lint on a codebase Remove dependency on `matches` crate Move useless_transmute to nursery nursery group -> style Update for PR feedback Auto merge of rust-lang#5314 - ehuss:remove-git2, r=flip1995 Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them ```` Fixes rust-lang#70456
submodules: update clippy from 1ff81c1 to 70b93aa Changes: ```` remove redundant import rustup rust-lang#68404 rustup rust-lang#69644 rustup rust-lang#70344 Move verbose_file_reads to restriction move redundant_pub_crate to nursery readme: explain how to run only a single lint on a codebase Remove dependency on `matches` crate Move useless_transmute to nursery nursery group -> style Update for PR feedback Auto merge of rust-lang#5314 - ehuss:remove-git2, r=flip1995 Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them ```` Fixes rust-lang#70456
This was used by the old framework that was removed in rust-lang#69644.
…eanup, r=nikomatsakis Remove unused graphviz emitter This was only used by the old dataflow framework that was removed in rust-lang#69644.
…eanup, r=nikomatsakis Remove unused graphviz emitter This was only used by the old dataflow framework that was removed in rust-lang#69644.
Changes: ```` remove redundant import rustup rust-lang/rust#68404 rustup rust-lang/rust#69644 rustup rust-lang/rust#70344 Move verbose_file_reads to restriction move redundant_pub_crate to nursery readme: explain how to run only a single lint on a codebase Remove dependency on `matches` crate Move useless_transmute to nursery nursery group -> style Update for PR feedback Auto merge of rust-lang#5314 - ehuss:remove-git2, r=flip1995 Lint for `pub(crate)` items that are not crate visible due to the visibility of the module that contains them ```` Fixes #70456
This is the culmination of the work described in rust-lang/compiler-team#202. All dataflow analyses (including the one in
clippy
) have been ported to use the framework indataflow/generic
, which can efficiently handle both gen/kill and generic problems. This PR moves the framework indataflow/generic
todataflow/framework
, and removes the gen/kill framework indataflow/mod.rs
.More comprehensive documentation for the new framework is tracked in rust-lang/rustc-dev-guide#564.
clippy
will need to change the path it uses to import the dataflow analysis traits.