-
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
Two conflicting concrete types for the same opaque type #114597
Comments
I'm working to find a minimized test-case. |
Probably fixed by #114574. |
I was able to minimize (see on Playground):
Gives:
With
Main diff of: |
Ideally this would be minimized to not rely on any external crates, but I can at least test that locally. |
I was able to minimize this further (See on Playground):
Verbose:
|
And one with no deps:
Verbose:
|
Thanks! |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-critical +T-compiler |
I tried this code:
https://cs.opensource.google/fuchsia/fuchsia/+/main:src/connectivity/network/netcfg/src/lib.rs;l=1762;drc=4a7d2eb6793e61c0021f8dd7dab35804590d36b6
The function beginning with the signature:
I expected to see this happen: Compiles successfully, as it did on previous releases.
Instead, this happened:
Recompiling with
-Zverbose
outputs:Which when diffed, shows a change only from instances of
NetCfg<ReEarlyBound(DefId(0:3068 ~ netcfg[7715]::{impl#13}::create_device_stream::{opaque#0}::'a), 2, 'a)>
toNetCfg<ReEarlyBound(DefId(0:626 ~ netcfg[7715]::{impl#13}::'a), 0, 'a)>
.Meta
Error output is from rustc commit 139b49b
Likely related to #113661, CC @oli-obk @lcnr
The text was updated successfully, but these errors were encountered: