-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Remove PointerLike
trait
#143308
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 PointerLike
trait
#143308
Conversation
This comment has been minimized.
This comment has been minimized.
// currently use pseudo-canonical queries in the trait solver which replaces params with | ||
// placeholders. We should also simply not use pseudo-canonical queries in the trait | ||
// solver, at which point we can readd this assert. As of writing this comment, this is | ||
// only used by `fn layout_is_pointer_like` when calling `layout_of`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't true :)
@rustbot author |
Is there context for this change? |
removal of |
Not needed anymore lol |
Specifically, in #143036 (comment) I mentioned removing the |
8616eff
to
e2e3f58
Compare
@rustbot ready |
@bors r+ rollup |
Rollup of 7 pull requests Successful merges: - #140643 (Refactor StableMIR) - #143286 (Make -Ztrack-diagnostics emit like a note) - #143308 (Remove `PointerLike` trait) - #143387 (Make __rust_alloc_error_handler_should_panic a function) - #143400 (Port `#[rustc_pass_by_value]` to the new attribute system) - #143417 (bump termize dep) - #143420 (rustc-dev-guide subtree update) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of #143308 - compiler-errors:no-pointer-like, r=oli-obk Remove `PointerLike` trait r? oli-obk
r? oli-obk