-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Uplift generator movability to rustc_type_ir
#116918
Conversation
This PR changes Stable MIR cc @oli-obk, @celinval, @spastorino, @ouz-a This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt |
Can we somehow keep sharing the hir and ir Movability type? Or is there no existing crate dependency from rustc_hir to rustc_ir? |
Why are there two of these PRs...? This an #116919. |
@RalfJung because they're different types and are pretty different review sizes. This PR touches 19 files, mostly within the compiler. That PR touches 124 files which span across the compiler, codegen backends, clippy, miri, etc. |
@oli-obk: No, there are no crate deps between them that would make sense to put this type in. |
Oh, movability != mutability. 🤦 |
rustc_type_ir
rustc_type_ir
If this becomes more common, maybe we should create such a crate. We merged some of these types to avoid any conversions or import confusions |
☔ The latest upstream changes (presumably #116923) made this pull request unmergeable. Please resolve the merge conflicts. |
It feels like creating a new THough alternatively, can |
Part of rust-lang/types-team#124
r? types