-
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
Public methods on private types are not exported symbols #11685
Labels
A-linkage
Area: linking into static, shared libraries and binaries
Comments
This should be closed. This can't be reproduced since we now forbid exposing private types in public signatures. @alexcrichton This is very similar to #18082, only that in that case, the compiler doesn't prevent exposing the private type in a public signature. Hence, I think that #18082 is actually a visibility bug not covered by rust-lang/rfcs#136. |
Ah yes, thanks @japaric! |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 2, 2023
Create `clippy_config` crate, hide internal representation from docs r? `@flip1995` The first commit moves a decent chunk of code out of `clippy_lints`/`clippy_utils` into a new crate `clippy_config` The second commit changes how `--explain`, the book and the site render configuration values. The internal type is now hidden and the displayed defaults are now valid TOML values instead of `Debug` output changelog: none
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 16, 2023
update references of old `msrvs` and `conf` paths In rust-lang#11685, `clippy_lints::utils::conf` and `clippy_utils::msrvs` were moved to a separate `clippy_config` crate. I noticed that not all references to those paths were updated, so this small PR intends to fix those. changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: