Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up'duplicate definitions' regression with winapi 0.2.5 #32247
Comments
brson
added
the
regression-from-stable-to-nightly
label
Mar 14, 2016
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
This is likely due to #31925 Also nominating (I guess for T-lang?) for some discussion, seems like a standard "let's ship a fix and continue with the course correction", however, to me. |
alexcrichton
added
I-nominated
T-lang
labels
Mar 14, 2016
This comment has been minimized.
This comment has been minimized.
|
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. |
brson
added a commit
to rust-lang/rustup.rs
that referenced
this issue
Mar 14, 2016
This comment has been minimized.
This comment has been minimized.
|
Since it's winapi, it seems prudent to switch it to a warning. |
This comment has been minimized.
This comment has been minimized.
|
@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. |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@aturon yes |
This was referenced Mar 15, 2016
This comment has been minimized.
This comment has been minimized.
|
I think #32301 is related. |
This comment has been minimized.
This comment has been minimized.
|
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. |
aturon
referenced this issue
Mar 17, 2016
Merged
Change inherent overlap error to a warning for now, to ease the breakage #32309
This comment has been minimized.
This comment has been minimized.
|
triage: P-high |
brson commentedMar 14, 2016
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