-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Suggestions for miniz_oxide included in diagnostics in crate with no dependencies #88696
Comments
|
And, even aside from |
I wonder if this is specific to |
I think the suggestion should not show up anymore if #87349 would have been merged. Can you try that out? Would that be feasible for you? |
Ah that looks relevant. Trying that PR now.. |
Nope. Same output with #87349. |
@In-line can you maybe say why your PR doesn't cover this case? :/ |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
I just got this too, in code with zero dependencies which is not at all exotic. All the non-std types here are just enums.
"miniz_oxide" doesn't cry out "implicit stdlib thing" so I spent awhile trying to figure out how an unrelated project was polluting this one, running cargo clean in various places, etc. |
The real question is, why is |
…e-dep-trait-impl-suggestions, r=cjgillot diagnostics: exclude indirect private deps from trait impl suggest Fixes rust-lang#88696
…dep-trait-impl-suggestions, r=cjgillot diagnostics: exclude indirect private deps from trait impl suggest Fixes rust-lang#88696
So, I was just chatting a bit with rustc and I was saying:
And then rustc said:
And I was like, sure, whatever you say.
But then rustc told me:
And I was like, excuse me what??
This crate has no dependencies. (Just an empty
cargo new ..
package.)This happens on at least:
(On
x86_64-unknown-linux-gnu
and other platforms wherebacktrace
is enabled instd
, such thatminiz_oxide
is pulled in as a dependency ofstd
.)The text was updated successfully, but these errors were encountered: