-
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
make pub_use_of_private_extern_crate show up in cargo's future breakage reports #127656
make pub_use_of_private_extern_crate show up in cargo's future breakage reports #127656
Conversation
This comment has been minimized.
This comment has been minimized.
@bors try |
0a73143
to
c29d5a3
Compare
…rate, r= WIP: make pub_use_of_private_extern_crate a hard error This got tracked in rust-lang#34537 which recently got closed so I assume we want this to be a hard error? It's been a lint for many years. Should probably be cratered though. TODO: - actually remove the lint r? `@petrochenkov`
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
@craterbot check |
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🎉 Experiment
|
Ah, I remember now, this was used in older versions of |
The lint should at least be switched to Also |
Yeah, I will do that.
I will leave that to future work / for someone else to pick up. |
If the lint remains, it should have an open tracking issue. Should we reopen #34537 or create a new issue? |
c29d5a3
to
d40f8de
Compare
@rustbot ready |
r=me after making an issue and updating the issue number for the lint. |
d40f8de
to
0871175
Compare
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#124881 (Use ThreadId instead of TLS-address in `ReentrantLock`) - rust-lang#127656 (make pub_use_of_private_extern_crate show up in cargo's future breakage reports) - rust-lang#127748 (Use Option's discriminant as its size hint) - rust-lang#127854 (Add internal lint for detecting non-glob imports of `rustc_type_ir::inherent`) - rust-lang#127908 (Update extern linking documentation) - rust-lang#127919 (Allow a git command for getting the current branch in bootstrap to fail) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#127656 - RalfJung:pub_use_of_private_extern_crate, r=petrochenkov make pub_use_of_private_extern_crate show up in cargo's future breakage reports This has been a lint for many years. However, turns out that outright removing it right now would lead to [tons of crater regressions](rust-lang#127656 (comment)) due to crates depending on an ancient version of `bitflags`. So for now this PR just makes this future-compat lint show up in cargo's reports, so people are warned when they use a dependency that is affected by this. r? `@petrochenkov`
This has been a lint for many years.
However, turns out that outright removing it right now would lead to tons of crater regressions due to crates depending on an ancient version of
bitflags
. So for now this PR just makes this future-compat lint show up in cargo's reports, so people are warned when they use a dependency that is affected by this.r? @petrochenkov