-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
'duplicate definitions' regression with winapi 0.2.5 #32247
Comments
Apparently this is a legitimate error in winapi that retep998/winapi-rs#267 will fix. However, how did Rust not error about this before? The commit that added those lines was authored on Jul 30, 2015. |
Oh wow, we didn't go through a warning cycle for this change because we didn't expect the error to be hit. Is this a significant enough problem for the ecosystem that we should switch to yield a warning for now? That's a pretty easy change to make. |
Since it's winapi, it seems prudent to switch it to a warning. |
@alexcrichton tells me on IRC that a quick publication on winapi should address this, but if it's still not looking good by tomorrow morning I'll push up a PR to move to warning. |
|
@aturon yes |
I think #32301 is related. |
Update: I'm planning to land a PR changing this error to a warning shortly. At the moment, we still intend to go forward with this change (which we see as a bugfix), but will have at least one release cycle with warnings first. |
triage: P-high |
Change inherent overlap error to a warning for now, to ease the breakage Closes #32247 r? @nikomatsakis
With
rustc 1.9.0-nightly (74b886ab1 2016-03-13)
I see this error building winapi 0.2.5:This worked as recently as
rustc 1.9.0-nightly (c9629d61c 2016-03-10)
.cc @retep998 @nikomatsakis
The text was updated successfully, but these errors were encountered: