-
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
Do not define opaque types when selecting impls #126258
Conversation
probably needs to be backported to beta (I think we cut this weekend?) |
@@ -1,10 +1,6 @@ | |||
// Another example from issue #84660, this time weaponized as a safe transmute: an opaque type in an | |||
// impl header being accepted was used to create unsoundness. | |||
|
|||
//@ revisions: current next | |||
//@ ignore-compare-mode-next-solver (explicit revisions) | |||
//@[next] compile-flags: -Znext-solver |
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.
please keep these revisions
//@ revisions: current next | ||
//@ ignore-compare-mode-next-solver (explicit revisions) | ||
//@[next] compile-flags: -Znext-solver | ||
//@check-pass |
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.
same
@@ -1,10 +1,6 @@ | |||
#![feature(type_alias_impl_trait)] | |||
#![allow(dead_code)] | |||
|
|||
//@ revisions: current next | |||
//@ ignore-compare-mode-next-solver (explicit revisions) | |||
//@[next] compile-flags: -Znext-solver |
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.
same
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.
r=me after undoing the revision changes
… of opaque types." This reverts commit 29a630e.
@bors r=lcnr |
Rollup of 5 pull requests Successful merges: - rust-lang#126186 (Migrate `run-make/multiple-emits` to `rmake.rs`) - rust-lang#126236 (Delegation: fix ICE on recursive delegation) - rust-lang#126254 (Remove ignore-cross-compile directive from ui/macros/proc_macro) - rust-lang#126258 (Do not define opaque types when selecting impls) - rust-lang#126265 (interpret: ensure we check bool/char for validity when they are used in a cast) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#126258 - oli-obk:recursive_rpit, r=lcnr Do not define opaque types when selecting impls fixes rust-lang#126117 r? `@lcnr` for inconsistency with next solver
[beta] backports and stage0 bump - Bump stage0 to 1.79.0 - Do not define opaque types when selecting impls rust-lang#126258 - Remove failing GUI test to stop blocking CI until it is fixed rust-lang#126445 r? cuviper
fixes #126117
r? @lcnr for inconsistency with next solver