-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE: <_ as MyTrait<Ty1>>::Out
where trait MyTrait<T: OtherTrait<Assoc = Self>>>
on nightly
#117577
Comments
searched nightlies: from nightly-2023-10-01 to nightly-2023-11-04 bisected with cargo-bisect-rustc v0.6.7Host triple: aarch64-apple-darwin cargo bisect-rustc --start=2023-10-01 --end=2023-11-04 |
<_ as Trait<N: OtherTrait<Assoc = Self>>>
<_ as Trait<N: OtherTrait<Assoc = Self>>>
trait ЬнTrait<N: OtherTrait<Assoc = Self>>>
on nightly
trait ЬнTrait<N: OtherTrait<Assoc = Self>>>
on nightlytrait MyTrait<N: OtherTrait<Assoc = Self>>>
on nightly
trait MyTrait<N: OtherTrait<Assoc = Self>>>
on nightly<_ as MyTrait<Ty1>>::Out
where trait MyTrait<T: OtherTrait<Assoc = Self>>>
on nightly
Why the heck do we even resolve edit: This behavior changed in: commit[0] 2023-01-08: Auto merge of #106449 - GuillaumeGomez:rustdoc-gui-retry-mechanism, r=Mark-Simulacrum |
Ah, it's because of the where-clause on |
This is ultimately fixed by #104098, but until then the PR #116530 should be temporarily reverted (with a beta-1.75 backport). I'll do the revert when the crater run for beta-1.75 finishes in order to discover other regressions. The reverted commit is small and safe enough to backport at any time, I believe, so I'm fine with this. Please let me know if you think this should be done earlier. @rustbot claim |
Error and stacktrace look similar to #116684 (now solved). Or maybe this is just something different ? |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
…mpiler-errors temporarily revert "ice on ambguity in mir typeck" Reverts rust-lang#116530 as a temporary measure to fix rust-lang#117577. That issue should be ultimately fixed by checking WF of type annotations prior to normalization, which is implemented in rust-lang#104098 but this PR is intended to be backported to beta. r? `@compiler-errors` (the reviewer of the reverted PR)
…mpiler-errors temporarily revert "ice on ambguity in mir typeck" Reverts rust-lang#116530 as a temporary measure to fix rust-lang#117577. That issue should be ultimately fixed by checking WF of type annotations prior to normalization, which is implemented in rust-lang#104098 but this PR is intended to be backported to beta. r? ``@compiler-errors`` (the reviewer of the reverted PR)
Rollup merge of rust-lang#118736 - aliemjay:revert-ice-on-ambig, r=compiler-errors temporarily revert "ice on ambguity in mir typeck" Reverts rust-lang#116530 as a temporary measure to fix rust-lang#117577. That issue should be ultimately fixed by checking WF of type annotations prior to normalization, which is implemented in rust-lang#104098 but this PR is intended to be backported to beta. r? ``@compiler-errors`` (the reviewer of the reverted PR)
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: